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

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 are 2 different diffs reported by users for this test.

Count Diff
7 (88%)
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 %s server version for the right syntax to use near '--'' at line 1"
1 (13%)
010+ Warning: PDOStatement::execute(): SQLSTATE[42000]: Syntax error or access violation: 1064 'SQL 구문에 오류가 있습니다.' 에러 같읍니다. ('--'' 명령어 라인 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(87) "'SQL 구문에 오류가 있습니다.' 에러 같읍니다. ('--'' 명령어 라인 1)"
017- string(149) "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"