Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
7c3c472b
Commit
7c3c472b
authored
Jul 24, 2017
by
Salvatore Sanfilippo
Committed by
GitHub
Jul 24, 2017
Browse files
Merge pull request #4154 from liangsijian/unstable
Fix lua ldb command log
parents
31404355
ffbbe5a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
7c3c472b
...
@@ -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);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment