mirror of
https://github.com/fluencelabs/redis
synced 2025-04-01 15:21:03 +00:00
minor style change
This commit is contained in:
parent
9791f0f8ce
commit
a3cf904121
@ -971,7 +971,8 @@ void execBlockClientOnSwappedKeys(redisClient *c, struct redisCommand *cmd, int
|
|||||||
int blockClientOnSwappedKeys(redisClient *c, struct redisCommand *cmd) {
|
int blockClientOnSwappedKeys(redisClient *c, struct redisCommand *cmd) {
|
||||||
int *keyindex, numkeys, j;
|
int *keyindex, numkeys, j;
|
||||||
|
|
||||||
keyindex = getKeysFromCommand(cmd,c->argv,c->argc,&numkeys,REDIS_GETKEYS_PRELOAD);
|
keyindex = getKeysFromCommand(cmd,c->argv,c->argc,&numkeys,
|
||||||
|
REDIS_GETKEYS_PRELOAD);
|
||||||
for (j = 0; j < numkeys; j++) waitForSwappedKey(c,c->argv[keyindex[j]]);
|
for (j = 0; j < numkeys; j++) waitForSwappedKey(c,c->argv[keyindex[j]]);
|
||||||
getKeysFreeResult(keyindex);
|
getKeysFreeResult(keyindex);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user