luasql/loader.tmpl
tomas 303aa0e97e Correcao de bug (ausencia do self na chamada dos metodos) nos drivers.
Inclusao de teste para identificar este bug.
2003-05-30 10:04:59 +00:00

9 lines
267 B
Cheetah

-- $Id: loader.tmpl,v 1.2 2003/05/30 10:04:59 tomas Exp $
if not luasql and loadlib then
local libname = "LIB_NAME"
local libopen = "luasql_libopen_DRIVER"
local init, err1, err2 = loadlib (libname, libopen)
assert (init, (err1 or '')..(err2 or ''))
init ()
end