1
0
mirror of https://github.com/luapower/mysql.git synced 2025-06-30 23:40:41 +02:00

unimportant

This commit is contained in:
Cosmin Apreutesei
2020-03-21 13:25:35 +02:00
parent bf6b50d966
commit afadb60a14

View File

@ -670,7 +670,7 @@ function res.fetch(res, mode, t)
elseif row then
return true, unpack(row)
else
return true, nil
return true
end
end
@ -686,10 +686,8 @@ function res.rows(res, mode, t)
i = i + 1
if packed then
return i, row
elseif row then
return i, unpack(row)
else
return true, nil
return i, unpack(row)
end
end
end