mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
Update redis.lua
exec执行时其中一条出错,看不到错误信息
This commit is contained in:
@@ -54,11 +54,10 @@ redcmd[42] = function(fd, data) -- '*'
|
||||
local noerr = true
|
||||
for i = 1,n do
|
||||
local ok, v = read_response(fd)
|
||||
if ok then
|
||||
bulk[i] = v
|
||||
else
|
||||
if not ok then
|
||||
noerr = false
|
||||
end
|
||||
bulk[i] = v
|
||||
end
|
||||
return noerr, bulk
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user