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: | Rasmus Lerdorf | Date: | Wed, 25 Nov 2009 05:29:57 +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-61008@lists.php.net to get a copy of this message | ||
rasmus Wed, 25 Nov 2009 05:29:57 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291289
Log:
Unless I am completely misreading this test case, these 3 lines at the
end should be in the expected output.
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 2009-11-25
04:00:55 UTC (rev 291288)
+++ php/php-src/branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt 2009-11-25
05:29:57 UTC (rev 291289)
@@ -176,4 +176,7 @@
Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does
not support that attribute in %s on line %d
[018] PDO::MYSQL_ATTR_DIRECT_QUERY should be off
[021] Execting '1'/boolean got ''/boolean' for options
'PDO::MYSQL_ATTR_LOCAL_INFILE'
-done!
\ No newline at end of file
+[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
+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 2009-11-25 04:00:55 UTC
(rev 291288)
+++ php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt 2009-11-25 05:29:57 UTC
(rev 291289)
@@ -176,4 +176,7 @@
Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does
not support that attribute in %s on line %d
[018] PDO::MYSQL_ATTR_DIRECT_QUERY should be off
[021] Execting '1'/boolean got ''/boolean' for options
'PDO::MYSQL_ATTR_LOCAL_INFILE'
-done!
\ No newline at end of file
+[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
+done!