Commit 5f9b9e11 authored by Yusaku Kaneta's avatar Yusaku Kaneta Committed by antirez
Browse files

Fix the firstkey, lastkey, and keystep of moduleCommand

parent ba2d3e8e
...@@ -125,7 +125,7 @@ volatile unsigned long lru_clock; /* Server global current LRU time. */ ...@@ -125,7 +125,7 @@ volatile unsigned long lru_clock; /* Server global current LRU time. */
* 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