diff options
author | liangsijian <liangsijian@foxmail.com> | 2017-07-24 19:20:31 +0800 |
---|---|---|
committer | liangsijian <liangsijian@foxmail.com> | 2017-07-24 19:24:06 +0800 |
commit | ffbbe5a720a723148ee364066f08e63528a57376 (patch) | |
tree | fdd05646730e8343c2863cb2ac679fd240366c8e /src/scripting.c | |
parent | 314043552b3e0ce5f080d0fd2169d5c32f94a222 (diff) | |
download | redis-ffbbe5a720a723148ee364066f08e63528a57376.tar.gz |
Fix lua ldb command log
Diffstat (limited to 'src/scripting.c')
-rw-r--r-- | src/scripting.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scripting.c b/src/scripting.c index 52fed6ac8..8f8145b2c 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -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); |