Small. Fast. Reliable.
Choose any three.
*** 1,3 ****
--- 1,5 ----
+ OBS: I was looking again in the load extension capabilities of the SQLite3 and probably will reimplement it as an extension module without modify the original sqlite3 source code !
+ 
  I have a preview of something like that, http://dad-it.com:8080/sqlite3.dll is the 3.3.10 with minor modifications and with lsqlite3.5 (lua sqlite3 bindings), where every opened database has Lua 5.1.1 as procedural language, in Lua we have a global var 'db' that refers to the actual database, we can use anything that can be used with lsqlite3, as well http://dad-it.com:8080/sqlite3.exe is the sqlite3 shell with the same additions as the sqlite3.dll, a small example is at http://dad-it.com:8080/test-lua-sqlite3.sql.
  
    select install_lua_script('