Hi,
I tried using luasql for sqlite3 in Luaforwindows and in LuaDist. Somehow the version in LuaDist causes lua to crash when the following is executed in the script:
curr = conn:execute("SELECT last_insert_rowid();")
if not curr then
error("Cannot get the last written record's row ID")
end
local row = curr:fetch({},"a") --- This causes lua to crash
The same works fine in Luaforwindows. Lua for windows just has 1 sqlite3 dll while in luadist it seems to be divided into sqlite3.dll and libsqlite3.dll.