Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.0.0, 2.0.14
-
None
-
None
Description
To repeat
OK_SIMPLE_STMT(Stmt, "INSERT INTO odbc74 (val) VALUES('one\\\\');\
INSERT INTO odbc74 (val) VALUES(\"two\\\\\");");
The fix and the testcase have been pushed to odbc-2.0 as commit 34d583b7481dd38b1f9bceb6ec2d21e93d3642ce
The problem was that parser would think of \ that it escapes closing quote, even if it was escaped in its turn(i.e. if it represented the character in the string.