Fix attempt for "commands out of sync"

This commit is contained in:
Dorian Wouters 2016-08-23 21:12:50 +02:00
parent aec6707ea0
commit b2670cae08
No known key found for this signature in database
GPG Key ID: 6E9DA8063322434B
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ do
end,
enumerate_auths = function()
conn:query(enumerate_auths_query)
local res = conn:use_result()
local res = conn:store_result()
return function()
local row = res:fetch('n')
if not row then