mirror of
https://github.com/fluencelabs/redis
synced 2025-04-30 21:12: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);
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user