mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Fix conditional in XGROUP.
This commit is contained in:
parent
ad78b50f62
commit
fdb575993f
@ -1716,7 +1716,7 @@ NULL
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Everything but the "HELP" option requires a key and group name. */
|
/* Everything but the "HELP" option requires a key and group name. */
|
||||||
if (c->argc > 4) {
|
if (c->argc >= 4) {
|
||||||
o = lookupKeyWrite(c->db,c->argv[2]);
|
o = lookupKeyWrite(c->db,c->argv[2]);
|
||||||
if (o) s = o->ptr;
|
if (o) s = o->ptr;
|
||||||
grpname = c->argv[3]->ptr;
|
grpname = c->argv[3]->ptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user