mirror of
https://github.com/luapower/mysql.git
synced 2025-01-01 14:00:27 +01:00
unimportant
This commit is contained in:
parent
a7a30e7cdb
commit
eeb2eac05e
@ -829,7 +829,7 @@ local function recv(self, sz)
|
|||||||
self.buf = buf
|
self.buf = buf
|
||||||
end
|
end
|
||||||
local buf = buf(sz)
|
local buf = buf(sz)
|
||||||
check_io(self, self.tcp:recvall(buf, sz))
|
check_io(self, self.tcp:recvn(buf, sz))
|
||||||
local i = 0
|
local i = 0
|
||||||
return function(n, err)
|
return function(n, err)
|
||||||
n = n or sz-i
|
n = n or sz-i
|
||||||
|
Loading…
Reference in New Issue
Block a user