lunarmodules / luasql

LuaSQL is a simple interface from Lua to a DBMS.
http://lunarmodules.github.io/luasql
539 stars 191 forks source link

ls_sqlite3.c missing method "settimeout" #63

Closed treahard closed 5 years ago

treahard commented 7 years ago

Much earlier versions included a "settimeout" method. The C code is now commented out and the

{"settimeout", opts_settimeout},

is missing.

fcr-- commented 5 years ago

Why don't you use conn:execute 'PRAGMA busy_timeout=60000'?

treahard commented 5 years ago

Works perfectly - thanks.