svn: /php/php-src/ branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt
trunk/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt
| From: | Ulf Wendel | Date: | Mon, 31 May 2010 10:52:14 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt trunk/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-62765@lists.php.net to get a copy of this message | ||
uw Mon, 31 May 2010 10:52:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=299981
Log:
Improve EXPECTF to work with other than default schemata
Changed paths:
U php/php-src/branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt
U php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt
Modified: php/php-src/branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt 2010-05-31
10:29:43 UTC (rev 299980)
+++ php/php-src/branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt 2010-05-31
10:52:14 UTC (rev 299981)
@@ -178,5 +178,5 @@
[021] Execting '1'/boolean got ''/boolean' for options
'PDO::MYSQL_ATTR_LOCAL_INFILE'
[023] Execting 'SET @a=1'/string got ''/boolean' for options
'PDO::MYSQL_ATTR_INIT_COMMAND'
[024] SQLSTATE[42000] [1065] Query was empty
-[025] SQLSTATE[42S02] [1146] Table 'test.nonexistent' doesn't exist
+[025] SQLSTATE[42S02] [1146] Table '%s.nonexistent' doesn't exist
done!
Modified: php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt
===================================================================
--- php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt 2010-05-31 10:29:43 UTC
(rev 299980)
+++ php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt 2010-05-31 10:52:14 UTC
(rev 299981)
@@ -178,5 +178,5 @@
[021] Execting '1'/boolean got ''/boolean' for options
'PDO::MYSQL_ATTR_LOCAL_INFILE'
[023] Execting 'SET @a=1'/string got ''/boolean' for options
'PDO::MYSQL_ATTR_INIT_COMMAND'
[024] SQLSTATE[42000] [1065] Query was empty
-[025] SQLSTATE[42S02] [1146] Table 'test.nonexistent' doesn't exist
+[025] SQLSTATE[42S02] [1146] Table '%s.nonexistent' doesn't exist
done!