Commit 7c3c472b authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo Committed by GitHub
Browse files

Merge pull request #4154 from liangsijian/unstable

Fix lua ldb command log
parents 31404355 ffbbe5a7
...@@ -443,6 +443,7 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) { ...@@ -443,6 +443,7 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) {
if (j == 10) { if (j == 10) {
cmdlog = sdscatprintf(cmdlog," ... (%d more)", cmdlog = sdscatprintf(cmdlog," ... (%d more)",
c->argc-j-1); c->argc-j-1);
break;
} else { } else {
cmdlog = sdscatlen(cmdlog," ",1); cmdlog = sdscatlen(cmdlog," ",1);
cmdlog = sdscatsds(cmdlog,c->argv[j]->ptr); cmdlog = sdscatsds(cmdlog,c->argv[j]->ptr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment