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
671b1f6a
Commit
671b1f6a
authored
Nov 08, 2017
by
antirez
Browse files
Streams: fix TYPE for stream type.
parent
1898c505
Changes
1
Show whitespace changes
Inline
Side-by-side
src/db.c
View file @
671b1f6a
...
@@ -798,6 +798,7 @@ void typeCommand(client *c) {
...
@@ -798,6 +798,7 @@ void typeCommand(client *c) {
case OBJ_SET: type = "set"; break;
case OBJ_SET: type = "set"; break;
case OBJ_ZSET: type = "zset"; break;
case OBJ_ZSET: type = "zset"; break;
case OBJ_HASH: type = "hash"; break;
case OBJ_HASH: type = "hash"; break;
case OBJ_STREAM: type = "stream"; break;
case OBJ_MODULE: {
case OBJ_MODULE: {
moduleValue *mv = o->ptr;
moduleValue *mv = o->ptr;
type = mv->type->name;
type = mv->type->name;
...
...
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