]> git.saurik.com Git - redis.git/commitdiff
Eval command table fixed to return the keys arguments of the command. We use zunionIn...
authorantirez <antirez@gmail.com>
Sun, 1 May 2011 22:36:25 +0000 (00:36 +0200)
committerantirez <antirez@gmail.com>
Wed, 25 May 2011 10:32:47 +0000 (12:32 +0200)
src/redis.c

index 931eb1d72a5416cf47f32d926caa24f4bcab84d6..7c97e6dc16cfb973655b8e49940adf05a47b279e 100644 (file)
@@ -194,7 +194,7 @@ struct redisCommand redisCommandTable[] = {
     {"dump",dumpCommand,2,0,NULL,0,0,0,0,0},
     {"object",objectCommand,-2,0,NULL,0,0,0,0,0},
     {"client",clientCommand,-2,0,NULL,0,0,0,0,0},
-    {"eval",evalCommand,-3,0,NULL,0,0,0,0,0}
+    {"eval",evalCommand,-3,REDIS_CMD_DENYOOM,zunionInterGetKeys,0,0,0,0,0}
 };
 
 /*============================ Utility functions ============================ */