QuoteSQL

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Sep 26 17:20:23 EDT 2006


In message <mailman.677.1159276858.10491.python-list at python.org>, Steve
Holden wrote:

> Lawrence D'Oliveiro wrote:
>
>> In message <Xns984A6E99A1A73duncanbooth at 127.0.0.1>, Duncan Booth wrote:
>> 
>>>In particular it currently turns newlines in backslash followed by n
>>>which (since MySQL ignores the extra backslash escape) is equivalent to
>>>turning newlines into the character n.
>> 
>> But \n is valid MySQL syntax for a newline.
> 
> Phew. It's a good hob that MySQL is the only database in the known
> universe, then, isn't it.

It's the one I was talking about in this thread.



More information about the Python-list mailing list