1
0
mirror of https://github.com/luapower/mysql.git synced 2024-12-29 12:20:32 +01:00

unimportant

This commit is contained in:
Cosmin Apreutesei 2021-09-24 20:37:56 +03:00
parent a7a30e7cdb
commit eeb2eac05e

View File

@ -829,7 +829,7 @@ local function recv(self, sz)
self.buf = buf
end
local buf = buf(sz)
check_io(self, self.tcp:recvall(buf, sz))
check_io(self, self.tcp:recvn(buf, sz))
local i = 0
return function(n, err)
n = n or sz-i