@@ -50,6 +50,7 @@ MySQLPDOTest::skip();
50
50
PDO ::MYSQL_ATTR_DIRECT_QUERY => 'PDO::MYSQL_ATTR_DIRECT_QUERY ' ,
51
51
52
52
PDO ::MYSQL_ATTR_INIT_COMMAND => 'PDO::MYSQL_ATTR_INIT_COMMAND ' ,
53
+ PDO ::ATTR_EMULATE_PREPARES => 'PDO::ATTR_EMULATE_PREPARES ' ,
53
54
);
54
55
55
56
$ defaults = array (
@@ -163,19 +164,10 @@ MySQLPDOTest::skip();
163
164
?>
164
165
--EXPECTF--
165
166
[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
167
167
[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
175
168
[015] PDO::ATTR_EMULATE_PREPARES should be on
176
169
[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
179
171
[018] PDO::MYSQL_ATTR_DIRECT_QUERY should be off
180
172
[021] Execting '1'/boolean got ''/boolean' for options 'PDO::MYSQL_ATTR_LOCAL_INFILE'
181
173
[023] Execting 'SET @a=1'/string got ''/boolean' for options 'PDO::MYSQL_ATTR_INIT_COMMAND'
0 commit comments