Fixed a bug which made the MySQL backend mistake an escaped single quote inside
a string literal for the closing quote. This resulted in incorrect behavior
if the same string literal contained a colon character ':'.