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
5ba47b50
Commit
5ba47b50
authored
Oct 09, 2014
by
antirez
Browse files
Merge branch 'unstable' of github.com:/antirez/redis into unstable
parents
da838544
591b69c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
5ba47b50
...
...
@@ -336,7 +336,7 @@ void debugCommand(redisClient *c) {
dictExpand
(
c
->
db
->
dict
,
keys
);
for
(
j
=
0
;
j
<
keys
;
j
++
)
{
snprintf
(
buf
,
sizeof
(
buf
),
"%s:%lu"
,
(
c
->
argc
==
3
)
?
"key"
:
c
->
argv
[
3
]
->
ptr
,
j
);
(
c
->
argc
==
3
)
?
"key"
:
(
char
*
)
c
->
argv
[
3
]
->
ptr
,
j
);
key
=
createStringObject
(
buf
,
strlen
(
buf
));
if
(
lookupKeyRead
(
c
->
db
,
key
)
!=
NULL
)
{
decrRefCount
(
key
);
...
...
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