Commit 4b61ca46 authored by antirez's avatar antirez
Browse files

fixed a bug in RENAME getKeys() function

parent 6e1b9b58
...@@ -666,7 +666,7 @@ int *renameGetKeys(struct redisCommand *cmd,robj **argv, int argc, int *numkeys, ...@@ -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);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment