strings with embedded single quotes not being parsed

Bug #578459 reported by Dave Stokes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
InfiniDB Community
In Progress
Undecided
Unassigned

Bug Description

Inserting a string like "O'Connor" or "David's" returns a Fatal Parse Error in vtable mode in DMLParser.

UPDATE foo SET last_name to 'O'\'Malley' WHERE id=123;
or
UPDATE foo SET last_name to 'O''Malley' WHERE ID=123;

The above statements should both escape the single quote in the string as per traditional MySQL string escape and insert O'Malley in filed.

Changed in infinidb:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.