Fix lua ldb command log

This commit is contained in:
liangsijian 2017-07-24 19:20:31 +08:00
parent 314043552b
commit ffbbe5a720

View File

@ -443,6 +443,7 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) {
if (j == 10) {
cmdlog = sdscatprintf(cmdlog," ... (%d more)",
c->argc-j-1);
break;
} else {
cmdlog = sdscatlen(cmdlog," ",1);
cmdlog = sdscatsds(cmdlog,c->argv[j]->ptr);