Yes Petite is correct. I found this a while back and asked if it could be fixed. Does anyone maintain LuaSQL these days?
Can it be fixed and a new rockspec be created? This would help me during deployment. Cascaded deletes need to be turned on through PRAGMA in sqlite3.
Thoughts and help?
Sent from my Droid
On Feb 12, 2013, at 8:00 AM, Vadim Peretokin <firstname.lastname@example.org> 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.