fixed a bug in RENAME getKeys() function

This commit is contained in:
antirez 2011-03-28 18:46:22 +02:00
parent 6e1b9b58ec
commit 4b61ca460c

View File

@ -666,7 +666,7 @@ int *renameGetKeys(struct redisCommand *cmd,robj **argv, int argc, int *numkeys,
int *keys = zmalloc(sizeof(int));
*numkeys = 1;
keys[0] = 1;
return NULL;
return keys;
} else {
return getKeysUsingCommandTable(cmd,argv,argc,numkeys);
}