[Phpmyadmin-devel] BugFix question

Rabus rabus at bugfixes.info
Sat Nov 2 07:29:54 CET 2002


-----Original Message-----
From: Jay Davis
> I read recently that MySQL only supports the -- comment
> syntax when the
> -- is followed by a space.

You're right, but outside of quoted areas, MySQL treats line feeds like
spaces.
This might be the reason why it accepts comments like "--\n".

Alexander







More information about the Developers mailing list