mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 14:38:50 +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)
|
||||
if alias[key] then
|
||||
self[key] = MySQL[alias[key]]
|
||||
alias[key] = nil
|
||||
return self[key]
|
||||
end
|
||||
end
|
||||
@@ -109,7 +108,6 @@ setmetatable(MySQL.Sync, {
|
||||
__index = function(self, key)
|
||||
if alias[key] then
|
||||
self[key] = MySQL[alias[key]].await
|
||||
alias[key] = nil
|
||||
return self[key]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user