mirror of https://mirror.osredm.com/root/redis.git
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. */
|
||||
if (c->argc > 4) {
|
||||
if (c->argc >= 4) {
|
||||
o = lookupKeyWrite(c->db,c->argv[2]);
|
||||
if (o) s = o->ptr;
|
||||
grpname = c->argv[3]->ptr;
|
||||
|
|
Loading…
Reference in New Issue