mirror of
https://github.com/fluencelabs/redis
synced 2025-05-01 05:22:13 +00:00
Fix DEBUG SDSLEN after 2.8 back port.
This commit is contained in:
parent
df21771c69
commit
0f32c37fc9
@ -308,7 +308,7 @@ void debugCommand(redisClient *c) {
|
|||||||
val = dictGetVal(de);
|
val = dictGetVal(de);
|
||||||
key = dictGetKey(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.");
|
addReplyError(c,"Not an sds encoded string.");
|
||||||
} else {
|
} else {
|
||||||
addReplyStatusFormat(c,
|
addReplyStatusFormat(c,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user