1
0
mirror of https://github.com/luapower/mysql.git synced 2025-07-01 07:50:32 +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 elseif row then
return true, unpack(row) return true, unpack(row)
else else
return true, nil return true
end end
end end
@ -686,10 +686,8 @@ function res.rows(res, mode, t)
i = i + 1 i = i + 1
if packed then if packed then
return i, row return i, row
elseif row then
return i, unpack(row)
else else
return true, nil return i, unpack(row)
end end
end end
end end