mirror of
https://github.com/fluencelabs/redis
synced 2025-03-20 17:40:50 +00:00
SCRIPT FLUSH comment minor pedantic improvement.
This commit is contained in:
parent
82ea1c6f5d
commit
e27b136069
@ -1020,7 +1020,7 @@ void scriptCommand(redisClient *c) {
|
|||||||
if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"flush")) {
|
if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"flush")) {
|
||||||
scriptingReset();
|
scriptingReset();
|
||||||
addReply(c,shared.ok);
|
addReply(c,shared.ok);
|
||||||
server.dirty++; /* Replicating this command is a good idea. */
|
server.dirty++; /* Propagating this command is a good idea. */
|
||||||
} else if (c->argc >= 2 && !strcasecmp(c->argv[1]->ptr,"exists")) {
|
} else if (c->argc >= 2 && !strcasecmp(c->argv[1]->ptr,"exists")) {
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user