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
0f32c37f
Commit
0f32c37f
authored
Aug 27, 2013
by
antirez
Browse files
Fix DEBUG SDSLEN after 2.8 back port.
parent
df21771c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
0f32c37f
...
...
@@ -308,7 +308,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