Menu

#236 sql parse error for strings

Development Strand
open
nobody
None
5
2014-01-10
2014-01-10
DaveB
No

SQL formatting seems to try to format /switches in a string value. E.g.

SELECT * FROM MyTable WHERE StrField = N'C:\SomeValue'

The "\S" in the string value "C:\SomeValue" is a different colour than the rest of the string, as if it is interpreting as a switch/parameter.

Observed in DokuWiki version rc2013-10-28 "Binky", which uses GeSHi version 1.0.8.11. String text was red, "\S" was navy blue.

Discussion


Log in to post a comment.