[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] SQLite escape single quote
From: |
Jan Derfinak |
Subject: |
Re: [PATCH] SQLite escape single quote |
Date: |
Wed, 21 May 2014 09:20:41 +0200 (CEST) |
User-agent: |
Alpine 2.00 (LNX 1167 2008-08-23) |
Hello Pedro.
The both patches look good, I will apply them.
Thanks.
Jan
On Tue, 20 May 2014, Pedro Aguilar wrote:
> Hi,
>
> This patch adds a function that escapes only single quotes by putting two
> single quotes in a row as SQLite likes them, otherwise it gives an insert
> error.
>
> Reference:
> http://www.sqlite.org/lang_expr.html
> in the section Literal Values
>
> Regards,
>
> Pedro Aguilar
> http://paguilar.org
>
>
--