Test: /ext/pdo_mysql/tests/pdo_mysql___construct_options.phpt - Version 5.5.21-dev    

There are 2 different diffs reported by users for this test.

Count Diff
4 (67%)
002- [003a] Expecting default value for 'PDO::ATTR_EMULATE_PREPARES' of '1'/integer, getAttribute() reports setting ''/boolean
003+ [015] PDO::ATTR_EMULATE_PREPARES should be on
004+ [016] PDO::MYSQL_ATTR_DIRECT_QUERY should be on
005+ [017] PDO::ATTR_EMULATE_PREPARES should be off
006+ [018] PDO::MYSQL_ATTR_DIRECT_QUERY should be off
007+ [021] Execting '1'/boolean got ''/boolean' for options 'PDO::MYSQL_ATTR_LOCAL_INFILE'
008+ [023] Execting 'SET @a=1'/string got ''/boolean' for options 'PDO::MYSQL_ATTR_INIT_COMMAND'
009+ [024] SQLSTATE[42000] [1065] Query was empty
010+ [025] SQLSTATE[42S02] [1146] Table 'test.nonexistent' doesn't exist
011+ done!
004-
005- Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d
006- [010] [TODO][CHANGEREQUEST] ATTR_EMULATE_PREPARES should be on
007-
008- Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d
009-
010- Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d
011- [015] PDO::ATTR_EMULATE_PREPARES should be on
012- [016] PDO::MYSQL_ATTR_DIRECT_QUERY should be on
013-
014- Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d
015- [018] PDO::MYSQL_ATTR_DIRECT_QUERY should be off
016- [021] Execting '1'/boolean got ''/boolean' for options 'PDO::MYSQL_ATTR_LOCAL_INFILE'
017- [023] Execting 'SET @a=1'/string got ''/boolean' for options 'PDO::MYSQL_ATTR_INIT_COMMAND'
018- [024] SQLSTATE[42000] [1065] Query was empty
019- [025] SQLSTATE[42S02] [1146] Table '%s.nonexistent' doesn't exist
020- done!
2 (33%)
004+ [001] SQLSTATE[HY000] [2002] Operation now in progress, [00000] 00000
005+ done!
004-
005- Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d
006- [010] [TODO][CHANGEREQUEST] ATTR_EMULATE_PREPARES should be on
007-
008- Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d
009-
010- Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d
011- [015] PDO::ATTR_EMULATE_PREPARES should be on
012- [016] PDO::MYSQL_ATTR_DIRECT_QUERY should be on
013-
014- Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d
015- [018] PDO::MYSQL_ATTR_DIRECT_QUERY should be off
016- [021] Execting '1'/boolean got ''/boolean' for options 'PDO::MYSQL_ATTR_LOCAL_INFILE'
017- [023] Execting 'SET @a=1'/string got ''/boolean' for options 'PDO::MYSQL_ATTR_INIT_COMMAND'
018- [024] SQLSTATE[42000] [1065] Query was empty
019- [025] SQLSTATE[42S02] [1146] Table '%s.nonexistent' doesn't exist
020- done!