mirror of
https://github.com/luapower/mysql.git
synced 2025-07-01 07:50:32 +02:00
unimportant
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user