Fix the firstkey, lastkey, and keystep of moduleCommand

This commit is contained in:
Yusaku Kaneta 2016-06-29 18:09:16 +09:00
parent 24bd9b19f6
commit b6c4822f7c

View File

@ -123,7 +123,7 @@ struct redisServer server; /* server global state */
* are not fast commands.
*/
struct redisCommand redisCommandTable[] = {
{"module",moduleCommand,-2,"as",0,NULL,1,1,1,0,0},
{"module",moduleCommand,-2,"as",0,NULL,0,0,0,0,0},
{"get",getCommand,2,"rF",0,NULL,1,1,1,0,0},
{"set",setCommand,-3,"wm",0,NULL,1,1,1,0,0},
{"setnx",setnxCommand,3,"wmF",0,NULL,1,1,1,0,0},