mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-03 06:28:53 +00:00
fix(lib): don't clear alias table
I'll fix that up later.
This commit is contained in:
1 parent
3fc3cfeecf
commit
fc06cab6eb
1 file changed
-2
@@ -99,7 +99,6 @@ setmetatable(MySQL.Async, {
|
|||||||
__index = function(self, key)
|
__index = function(self, key)
|
||||||
if alias[key] then
|
if alias[key] then
|
||||||
self[key] = MySQL[alias[key]]
|
self[key] = MySQL[alias[key]]
|
||||||
alias[key] = nil
|
|
||||||
return self[key]
|
return self[key]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -109,7 +108,6 @@ setmetatable(MySQL.Sync, {
|
|||||||
__index = function(self, key)
|
__index = function(self, key)
|
||||||
if alias[key] then
|
if alias[key] then
|
||||||
self[key] = MySQL[alias[key]].await
|
self[key] = MySQL[alias[key]].await
|
||||||
alias[key] = nil
|
|
||||||
return self[key]
|
return self[key]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user