> > > For the record, luadbi [1] sqlite3 driver works properly, i.e. it returns a > result set from a pragma: > > Well, I took a quick look at it and luadbi works fine because it's using sqlite3_prepare_v2 instead of sqlite3_prepare. _v2 is recommended in SQLite docs [1] so it might be reasonable to update.
If you can, change line 350 of ls_sqlite3.c to this: res = sqlite3_prepare_v2(conn->sql_conn, statement, -1, &vm, &tail); Your test now works. Couldn't test much further though. [1]: http://www.sqlite.org/c3ref/prepare.html
_______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/