bug on second require

This commit is contained in:
tuler 2005-10-20 17:27:45 +00:00
parent 23dfaf3d34
commit adbdc1e81c
2 changed files with 2 additions and 2 deletions

View File

@ -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 = {}

View File

@ -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")