bug on second require
This commit is contained in:
parent
23dfaf3d34
commit
adbdc1e81c
@ -11,7 +11,7 @@ local libName = "luasql"
|
||||
|
||||
local Private = {}
|
||||
|
||||
luasql = (_G[libName] and type(_G[libName]) == "table") or {}
|
||||
luasql = type(_G[libName]) == "table" and _G[libName] or {}
|
||||
|
||||
local ADOTypes = {}
|
||||
|
||||
|
@ -10,7 +10,7 @@ local libName = "luasql"
|
||||
|
||||
local Private = {}
|
||||
|
||||
luasql = (_G[libName] and type(_G[libName]) == "table") or {}
|
||||
luasql = type(_G[libName]) == "table" and _G[libName] or {}
|
||||
|
||||
Private.createJavaCursor = luajava.loadLib("org.keplerproject.luasql.jdbc.LuaSQLCursor", "open")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user