Skip to content

Commit ea1c0c5

Browse files
committed
Update test after fixing bug #68371
1 parent 4a9ad2f commit ea1c0c5

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ MySQLPDOTest::skip();
5050
PDO::MYSQL_ATTR_DIRECT_QUERY => 'PDO::MYSQL_ATTR_DIRECT_QUERY',
5151

5252
PDO::MYSQL_ATTR_INIT_COMMAND => 'PDO::MYSQL_ATTR_INIT_COMMAND',
53+
PDO::ATTR_EMULATE_PREPARES => 'PDO::ATTR_EMULATE_PREPARES',
5354
);
5455

5556
$defaults = array(
@@ -163,19 +164,10 @@ MySQLPDOTest::skip();
163164
?>
164165
--EXPECTF--
165166
[003] [TODO][CHANGEREQUEST] Please, lets not ignore invalid options and bail out!
166-
[003a] Expecting default value for 'PDO::ATTR_EMULATE_PREPARES' of '1'/integer, getAttribute() reports setting ''/boolean
167167
[003a] Expecting default value for 'PDO::MYSQL_ATTR_INIT_COMMAND' of ''/string, getAttribute() reports setting ''/boolean
168-
169-
Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d
170-
[010] [TODO][CHANGEREQUEST] ATTR_EMULATE_PREPARES should be on
171-
172-
Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d
173-
174-
Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d
175168
[015] PDO::ATTR_EMULATE_PREPARES should be on
176169
[016] PDO::MYSQL_ATTR_DIRECT_QUERY should be on
177-
178-
Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d
170+
[017] PDO::ATTR_EMULATE_PREPARES should be off
179171
[018] PDO::MYSQL_ATTR_DIRECT_QUERY should be off
180172
[021] Execting '1'/boolean got ''/boolean' for options 'PDO::MYSQL_ATTR_LOCAL_INFILE'
181173
[023] Execting 'SET @a=1'/string got ''/boolean' for options 'PDO::MYSQL_ATTR_INIT_COMMAND'

0 commit comments

Comments
 (0)