Commit 497fc877 authored by antirez's avatar antirez
Browse files

Eval command table fixed to return the keys arguments of the command. We use...

Eval command table fixed to return the keys arguments of the command. We use zunionInterGetKeys() as it ZUNION/ZINTER have exactly the same semantic with a prefixed number of keys followed by key names.
parent 171ef681
...@@ -194,7 +194,7 @@ struct redisCommand redisCommandTable[] = { ...@@ -194,7 +194,7 @@ struct redisCommand redisCommandTable[] = {
{"dump",dumpCommand,2,0,NULL,0,0,0,0,0}, {"dump",dumpCommand,2,0,NULL,0,0,0,0,0},
{"object",objectCommand,-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}, {"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 ============================ */ /*============================ Utility functions ============================ */
......
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