$OpenBSD: patch-sqlite3_lua,v 1.3 2006/07/30 04:51:39 pedro Exp $ --- sqlite3.lua.orig Wed Sep 14 20:22:59 2005 +++ sqlite3.lua Fri Jul 28 21:51:06 2006 @@ -44,9 +44,9 @@ TODO: -require "libluasqlite3-loader" - -local api, ERR, TYPE, AUTH = load_libluasqlite3() +local f = assert(require("sqlite3.core")) +local api, ERR, TYPE, AUTH = f.init() +f = nil local db_class = { } local stmt_class = { }