unimportant

This commit is contained in:
Cosmin Apreutesei 2021-09-17 18:24:21 +03:00
parent f38a4c1739
commit a7a30e7cdb
1 changed files with 2 additions and 2 deletions

View File

@ -1212,13 +1212,13 @@ end
conn.get_collation = protect(get_collation)
do
local function pass(self, ret, ...)
local function pass(self, schema, ret, ...)
if not ret then return nil, ... end
self.schema = schema
return ret, ...
end
function conn:use(schema)
return pass(self, self:query('use `' .. schema .. '`'))
return pass(self, schema, self:query('use `' .. schema .. '`'))
end
end