Bug #46908 Escapes Not Color Coding Properly in Script Editor
Submitted: 25 Aug 2009 1:11 Modified: 26 Aug 2009 5:55
Reporter: Matthew Clower Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Query Browser Severity:S5 (Performance)
Version:1.2.12 OS:MacOS (Leopard)
Assigned to: CPU Architecture:Any
Tags: colorcoding, escapes, macosx, strings

[25 Aug 2009 1:11] Matthew Clower
Description:
Color coding of strings does not work when the string delimiter is escaped within the string, e.g.

How to repeat:
1. Open up the Query Browser and open any new or existing script in the Script Editor.
2. Utilize any string that escapes the delimiter within the string, e.g.,

/*
MYSQL BUG REPORT

String don't color code escapes properly
*/

update `table_name` set `text_value`='some string with an apostrophe (\') in it';

Suggested fix:
implement the full set of syntactical string rules for color coding.
[25 Aug 2009 1:21] Matthew Clower
Escaped string delimiter

Attachment: Picture 8.png (image/png, text), 21.22 KiB.

[26 Aug 2009 5:55] Valeriy Kravchuk
Sorry, but QB is NOT supported on Mac OS X (check http://www.mysql.com/support/supportedplatforms/tools.html), so there is no chance for this bug to be fixed.