From: antirez Date: Mon, 28 Mar 2011 16:46:22 +0000 (+0200) Subject: fixed a bug in RENAME getKeys() function X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/4b61ca460c5d043b9d199a4e4991bfac5dde66c5?hp=-c fixed a bug in RENAME getKeys() function --- 4b61ca460c5d043b9d199a4e4991bfac5dde66c5 diff --git a/src/db.c b/src/db.c index 7a9c9c4c..fea2f12e 100644 --- a/src/db.c +++ b/src/db.c @@ -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); }