mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
fixed a bug in RENAME getKeys() function
This commit is contained in:
parent
6e1b9b58ec
commit
4b61ca460c
2
src/db.c
2
src/db.c
@ -666,7 +666,7 @@ int *renameGetKeys(struct redisCommand *cmd,robj **argv, int argc, int *numkeys,
|
|||||||
int *keys = zmalloc(sizeof(int));
|
int *keys = zmalloc(sizeof(int));
|
||||||
*numkeys = 1;
|
*numkeys = 1;
|
||||||
keys[0] = 1;
|
keys[0] = 1;
|
||||||
return NULL;
|
return keys;
|
||||||
} else {
|
} else {
|
||||||
return getKeysUsingCommandTable(cmd,argv,argc,numkeys);
|
return getKeysUsingCommandTable(cmd,argv,argc,numkeys);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user