Commit b6c4822f authored by Yusaku Kaneta's avatar Yusaku Kaneta
Browse files

Fix the firstkey, lastkey, and keystep of moduleCommand

parent 24bd9b19
...@@ -123,7 +123,7 @@ struct redisServer server; /* server global state */ ...@@ -123,7 +123,7 @@ struct redisServer server; /* server global state */
* are not fast commands. * are not fast commands.
*/ */
struct redisCommand redisCommandTable[] = { 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}, {"get",getCommand,2,"rF",0,NULL,1,1,1,0,0},
{"set",setCommand,-3,"wm",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}, {"setnx",setnxCommand,3,"wmF",0,NULL,1,1,1,0,0},
......
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