mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
correct OBJECT ENCODING response for stream type (#7797)
This commit makes stream object returning "stream" as encoding type in OBJECT ENCODING subcommand and DEBUG OBJECT command. Till now, it would return "unknown"
This commit is contained in:
parent
98c8ac0d70
commit
6ff741b5cf
@ -740,6 +740,7 @@ char *strEncoding(int encoding) {
|
||||
case OBJ_ENCODING_INTSET: return "intset";
|
||||
case OBJ_ENCODING_SKIPLIST: return "skiplist";
|
||||
case OBJ_ENCODING_EMBSTR: return "embstr";
|
||||
case OBJ_ENCODING_STREAM: return "stream";
|
||||
default: return "unknown";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user