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
6b61e94b
Commit
6b61e94b
authored
Aug 27, 2013
by
antirez
Browse files
Fix DEBUG SDSLEN after 2.8 back port.
parent
84472a35
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
6b61e94b
...
...
@@ -306,7 +306,7 @@ void debugCommand(redisClient *c) {
val
=
dictGetVal
(
de
);
key
=
dictGetKey
(
de
);
if
(
val
->
type
!=
REDIS_STRING
||
!
sdsEncodedObject
(
val
)
)
{
if
(
val
->
type
!=
REDIS_STRING
||
val
->
encoding
!=
REDIS_ENCODING_RAW
)
{
addReplyError
(
c
,
"Not an sds encoded string."
);
}
else
{
addReplyStatusFormat
(
c
,
...
...
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