2010/10/12 Ignacio Burgueño <iburgu...@gmail.com> > >> 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. >
Thanks for sleuthing that one, Ignacio! That seems to be the very issue. Am doing a complete review of the drivers and have not yet really combed through ls_sqlite3.c. Will incorporate that change asap after giving it a bit of a workout soon. - Bob > > > [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/ > -- Bob Calco DBA Softcraft Solutions bob.ca...@softcraft-solutions.com
_______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/