Test: /ext/pdo_mysql/tests/pdo_mysql_exec.phpt - Version 5.6.11    

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

Count Diff
16 (89%)
003+ [020] Expecting '0'/integer got '1'/integer when running 'CALL p(@version)', [00000] 00000 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'THIS IS NOT VALID SQL, I HOPE' at line 1
1 (6%)
003+ [020] Expecting '0'/integer got '1'/integer when running 'CALL p(@version)', [00000] 00000 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'THIS IS NOT VALID SQL, I HOPE' at line 1
004+
003- [035] With emulated PS it works but makes no sense given that exec() returns sort of affected rows...
004- done!
005+ Warning: PDO::exec(): SQLSTATE[HY000]: General error: 1419 You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) in %s/pdo_mysql_exec.php on line 6
006+ [028] Expecting '0'/integer got ''/boolean when running 'CREATE FUNCTION f( ver_param VARCHAR(255)) RETURNS VARCHAR(255) DETERMINISTIC RETURN ver_param;', [HY000] HY000 1419 You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
007+
008+ Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION test.f does not exist in %s/pdo_mysql_exec.php on line 108
009+
010+ Fatal error: Call to a member function fetchAll() on boolean in %s/pdo_mysql_exec.php on line 109
1 (6%)
003+
004+ Warning: PDO::exec(): SQLSTATE[HY000]: General error: 1436 Thread stack overrun: 6816 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack. in %s/pdo_mysql_exec.php on line 6
003- [035] With emulated PS it works but makes no sense given that exec() returns sort of affected rows...
004- done!
005+ [020] Expecting '0'/integer got ''/boolean when running 'CALL p(@version)', [HY000] HY000 1436 Thread stack overrun: 6816 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack.
006+ [022] Data seems wrong, dumping
007+ array(1) {
008+ [0]=>
009+ array(1) {
010+ ["p_version"]=>
011+ NULL
012+ }
013+ }
014+
015+ Notice: Undefined variable: p_version in %s/pdo_mysql_exec.php on line 85
016+
017+ Notice: Undefined variable: p_version in %s/pdo_mysql_exec.php on line 87
018+
019+ Notice: Undefined variable: p_version in %s/pdo_mysql_exec.php on line 87
020+ [024] Found different version strings, SP returned ''/NULL, SELECT returned '5.5.16-log'/string
021+
022+ Warning: PDO::query(): SQLSTATE[HY000]: General error: 1436 Thread stack overrun: 10112 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack. in %s/pdo_mysql_exec.php on line 108
023+
024+ Fatal error: Call to a member function fetchAll() on boolean in %s/pdo_mysql_exec.php on line 109