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
e3984980
Commit
e3984980
authored
Jul 24, 2017
by
liangsijian
Committed by
antirez
Jul 24, 2017
Browse files
Fix lua ldb command log
parent
84a4f202
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
e3984980
...
@@ -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