Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b39619d8
Commit
b39619d8
authored
Jan 08, 2011
by
antirez
Browse files
DEBUG OBJECT fixed with diskstore, force loading
parent
f1df1739
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
b39619d8
...
...
@@ -198,11 +198,12 @@ void debugCommand(redisClient *c) {
redisLog
(
REDIS_WARNING
,
"Append Only File loaded by DEBUG LOADAOF"
);
addReply
(
c
,
shared
.
ok
);
}
else
if
(
!
strcasecmp
(
c
->
argv
[
1
]
->
ptr
,
"object"
)
&&
c
->
argc
==
3
)
{
dictEntry
*
de
=
dictFind
(
c
->
db
->
dict
,
c
->
argv
[
2
]
->
ptr
)
;
dictEntry
*
de
;
robj
*
val
;
char
*
strenc
;
if
(
!
de
)
{
if
(
server
.
ds_enabled
)
lookupKeyRead
(
c
->
db
,
c
->
argv
[
2
]);
if
((
de
=
dictFind
(
c
->
db
->
dict
,
c
->
argv
[
2
]
->
ptr
))
==
NULL
)
{
addReply
(
c
,
shared
.
nokeyerr
);
return
;
}
...
...
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