com php-src: Update test after fixing bug #68371: ext/pdo_mys ql/tests/pdo_mysql___construct_options.phpt
| From: | Matteo Beccati | Date: | Mon, 05 Jan 2015 11:11:16 +0000 |
| Subject: | com php-src: Update test after fixing bug #68371: ext/pdo_mys ql/tests/pdo_mysql___construct_options.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83991@lists.php.net to get a copy of this message | ||
Commit: ea1c0c56273c10362f33aa3270168f37a26c29d6
Author: Matteo Beccati <mbeccati@php.net> Mon, 5 Jan 2015 12:11:16 +0100
Parents: 4a9ad2faffb4629ee5e85bcbdf6669cfa45c7324
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ea1c0c56273c10362f33aa3270168f37a26c29d6
Log:
Update test after fixing bug #68371
Bugs:
https://bugs.php.net/68371
Changed paths:
M ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt
Diff:
diff --git a/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt
b/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt
index 29b3c11..8cd028f 100644
--- a/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt
+++ b/ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt
@@ -50,6 +50,7 @@ MySQLPDOTest::skip();
PDO::MYSQL_ATTR_DIRECT_QUERY => 'PDO::MYSQL_ATTR_DIRECT_QUERY',
PDO::MYSQL_ATTR_INIT_COMMAND => 'PDO::MYSQL_ATTR_INIT_COMMAND',
+ PDO::ATTR_EMULATE_PREPARES => 'PDO::ATTR_EMULATE_PREPARES',
);
$defaults = array(
@@ -163,19 +164,10 @@ MySQLPDOTest::skip();
?>
--EXPECTF--
[003] [TODO][CHANGEREQUEST] Please, lets not ignore invalid options and bail out!
-[003a] Expecting default value for 'PDO::ATTR_EMULATE_PREPARES' of '1'/integer,
getAttribute() reports setting ''/boolean
[003a] Expecting default value for 'PDO::MYSQL_ATTR_INIT_COMMAND' of ''/string,
getAttribute() reports setting ''/boolean
-
-Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does
not support that attribute in %s on line %d
-[010] [TODO][CHANGEREQUEST] ATTR_EMULATE_PREPARES should be on
-
-Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does
not support that attribute in %s on line %d
-
-Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does
not support that attribute in %s on line %d
[015] PDO::ATTR_EMULATE_PREPARES should be on
[016] PDO::MYSQL_ATTR_DIRECT_QUERY should be on
-
-Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does
not support that attribute in %s on line %d
+[017] PDO::ATTR_EMULATE_PREPARES should be off
[018] PDO::MYSQL_ATTR_DIRECT_QUERY should be off
[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'