mirror of
https://github.com/fluencelabs/redis
synced 2025-03-31 14:51:04 +00:00
small comment added
This commit is contained in:
parent
ab52d1f4a8
commit
2b9ce0192e
@ -1275,7 +1275,10 @@ void clusterCommand(redisClient *c) {
|
|||||||
addReplyBulk(c,o);
|
addReplyBulk(c,o);
|
||||||
decrRefCount(o);
|
decrRefCount(o);
|
||||||
} else if ((!strcasecmp(c->argv[1]->ptr,"addslots") ||
|
} else if ((!strcasecmp(c->argv[1]->ptr,"addslots") ||
|
||||||
!strcasecmp(c->argv[1]->ptr,"delslots")) && c->argc >= 3) {
|
!strcasecmp(c->argv[1]->ptr,"delslots")) && c->argc >= 3)
|
||||||
|
{
|
||||||
|
/* CLUSTER ADDSLOTS <slot> [slot] ... */
|
||||||
|
/* CLUSTER DELSLOTS <slot> [slot] ... */
|
||||||
int j, slot;
|
int j, slot;
|
||||||
unsigned char *slots = zmalloc(REDIS_CLUSTER_SLOTS);
|
unsigned char *slots = zmalloc(REDIS_CLUSTER_SLOTS);
|
||||||
int del = !strcasecmp(c->argv[1]->ptr,"delslots");
|
int del = !strcasecmp(c->argv[1]->ptr,"delslots");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user