mirror of
https://github.com/fluencelabs/redis
synced 2025-03-31 14:51:04 +00:00
Cluster: evalGetKeys() fixed: was not setting keys count.
This commit is contained in:
parent
03344196f3
commit
21765c8588
1
src/db.c
1
src/db.c
@ -1020,6 +1020,7 @@ int *evalGetKeys(struct redisCommand *cmd, robj **argv, int argc, int *numkeys)
|
||||
}
|
||||
|
||||
keys = zmalloc(sizeof(int)*num);
|
||||
*numkeys = num;
|
||||
|
||||
/* Add all key positions for argv[3...n] to keys[] */
|
||||
for (i = 0; i < num; i++) keys[i] = 3+i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user