mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
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.
This commit is contained in:
parent
171ef6813d
commit
497fc8775f
@ -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 ============================ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user