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

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

Count Diff
5 (38%)
001+ [001] SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO), [n/a] n/a
002+ done!
001- [003] [TODO][CHANGEREQUEST] Please, lets not ignore invalid options and bail out!
002- [003a] Expecting default value for 'PDO::ATTR_EMULATE_PREPARES' of '1'/integer, getAttribute() reports setting ''/boolean
003- [003a] Expecting default value for 'PDO::MYSQL_ATTR_INIT_COMMAND' of ''/string, getAttribute() reports setting ''/boolean
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!
5 (38%)
001+ Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in %s/pdo_mysql___construct_options.php on line 63
002+ [001] SQLSTATE[HY000] [2002] No such file or directory, [n/a] n/a
003+ done!
001- [003] [TODO][CHANGEREQUEST] Please, lets not ignore invalid options and bail out!
002- [003a] Expecting default value for 'PDO::ATTR_EMULATE_PREPARES' of '1'/integer, getAttribute() reports setting ''/boolean
003- [003a] Expecting default value for 'PDO::MYSQL_ATTR_INIT_COMMAND' of ''/string, getAttribute() reports setting ''/boolean
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 (15%)
001+ [001] SQLSTATE[42000] [1049] Unknown database 'test', [n/a] n/a
002+ done!
001- [003] [TODO][CHANGEREQUEST] Please, lets not ignore invalid options and bail out!
002- [003a] Expecting default value for 'PDO::ATTR_EMULATE_PREPARES' of '1'/integer, getAttribute() reports setting ''/boolean
003- [003a] Expecting default value for 'PDO::MYSQL_ATTR_INIT_COMMAND' of ''/string, getAttribute() reports setting ''/boolean
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!
1 (8%)
001+ [001] SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock' (2), [n/a] n/a
002+ done!
001- [003] [TODO][CHANGEREQUEST] Please, lets not ignore invalid options and bail out!
002- [003a] Expecting default value for 'PDO::ATTR_EMULATE_PREPARES' of '1'/integer, getAttribute() reports setting ''/boolean
003- [003a] Expecting default value for 'PDO::MYSQL_ATTR_INIT_COMMAND' of ''/string, getAttribute() reports setting ''/boolean
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!