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

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
3 (100%)
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 MariaDB server version for the right syntax to use near '--'' at line 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 MySQL server version for the right syntax to use near '--'' at line 1 in %s on line %d
017+ string(151) "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '--'' at line 1"
017- string(149) "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 '--'' at line 1"