Merge pull request #4154 from liangsijian/unstable

Fix lua ldb command log
This commit is contained in:
Salvatore Sanfilippo 2017-07-24 14:11:10 +02:00 committed by GitHub
commit 7c3c472b5e

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);