Test: /ext/pdo_mysql/tests/bug54929.phpt - Version 7.4.1        

Bug #54929 Parse error with single quote in sql comment
Submitted: 2011-05-25 20:00:25 Modified: 2011-06-05 00:54:06
From: hencke Assigned: felipe
Status: Closed Package: PDO related
PHP Version: 5.2.17 OS: linux (centos 5.5)

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
010+ Warning: PDOStatement::execute(): SQLSTATE[42000]: Syntax error or access violation: 1064 Fehler in der SQL-Syntax. Bitte die korrekte Syntax im Handbuch nachschlagen bei '--'' in Zeile 1 in %s/bug54929.php on line 12
010- Warning: PDOStatement::execute(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your %s server version for the right syntax to use near '--'' at line 1 in %s on line %d
017+ string(97) "Fehler in der SQL-Syntax. Bitte die korrekte Syntax im Handbuch nachschlagen bei '--'' in Zeile 1"
017- string(%d) "You have an error in your SQL syntax; check the manual that corresponds to your %s server version for the right syntax to use near '--'' at line 1"