mirror of
https://github.com/fluencelabs/redis
synced 2025-06-18 19:51:22 +00:00
Fix DEBUG SDSLEN after 2.8 back port.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user