[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaSQL and PRAGMAs
- From: Petite Abeille <petite.abeille@...>
- Date: Tue, 12 Feb 2013 20:40:20 +0100
On Feb 12, 2013, at 8:29 PM, Petite Abeille <petite.abeille@gmail.com> wrote:
>
> On Feb 12, 2013, at 8:00 AM, Vadim Peretokin <vperetokin@gmail.com> wrote:
>
>> Has anyone had luck with PRAGMAs using a recent sqlite and LuaSQL version?
>
> Yes. In ls_sqlite3.c -> conn_execute() -> line 350, change sqlite3_prepare to sqlite3_prepare_v2.
For the record… courtesy of Ignacio Burgueño, back in Oct 2010:
http://lists.luaforge.net/pipermail/kepler-project/2010-October/004377.html