-----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