Bug#590285: Patch to fix SQLite backslash-escaping issue

2010-09-20 Thread Jaco Möhlmann
tags 590285 + patch thanks Hello, Hereby fix for the mysql and pgsql backend. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590285#10 is the way how sqlite works and seems to me to be ok. Code for pgsql is mostly copied from the mysql-code only differs in function name to postgres specific, I a

Bug#590285: Patch to fix SQLite backslash-escaping issue

2010-08-12 Thread Andy Smith
Hi Matthijs, I can confirm that the problem still exists in 2.9.22-6 (and upstream), and the same patch will still apply to it. Cheers, Andy On Tue, Aug 03, 2010 at 06:21:37PM +0200, Matthijs Mohlmann wrote: > You're using version 2.9.21-2.1 which is currently the stable version. Can > you try w

Bug#590285: Patch to fix SQLite backslash-escaping issue

2010-08-03 Thread Matthijs Mohlmann
Hi Andy, Thanks for working on a patch, one question though did you first try to check if the new version has still this bug ? You're using version 2.9.21-2.1 which is currently the stable version. Can you try with 2.9.22-6 which is in testing to reproduce? Regards, Matthijs Möhlmann On Aug 3,

Bug#590285: Patch to fix SQLite backslash-escaping issue

2010-08-03 Thread Andy Smith
This works for me and shouldn't have any effect on MySQL; haven't looked at the pgsql backend though. thanks -- Call the SQL backend's escaping method instead of the generic sqlEscape(). Modify SQLite's escaping method to only escape single quotes, and to do so with another single quote. SQLite