Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
3364b2d1
Commit
3364b2d1
authored
Jun 27, 2014
by
antirez
Browse files
COMMANDS command renamed COMMAND.
parent
0aab8eb1
Changes
2
Show whitespace changes
Inline
Side-by-side
src/redis.c
View file @
3364b2d1
...
@@ -273,7 +273,7 @@ struct redisCommand redisCommandTable[] = {
...
@@ -273,7 +273,7 @@ struct redisCommand redisCommandTable[] = {
{
"bitcount"
,
bitcountCommand
,
-
2
,
"r"
,
0
,
NULL
,
1
,
1
,
1
,
0
,
0
},
{
"bitcount"
,
bitcountCommand
,
-
2
,
"r"
,
0
,
NULL
,
1
,
1
,
1
,
0
,
0
},
{
"bitpos"
,
bitposCommand
,
-
3
,
"r"
,
0
,
NULL
,
1
,
1
,
1
,
0
,
0
},
{
"bitpos"
,
bitposCommand
,
-
3
,
"r"
,
0
,
NULL
,
1
,
1
,
1
,
0
,
0
},
{
"wait"
,
waitCommand
,
3
,
"rs"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"wait"
,
waitCommand
,
3
,
"rs"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"command
s
"
,
command
s
Command
,
0
,
"rlt"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"command"
,
commandCommand
,
0
,
"rlt"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"pfselftest"
,
pfselftestCommand
,
1
,
"r"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"pfselftest"
,
pfselftestCommand
,
1
,
"r"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"pfadd"
,
pfaddCommand
,
-
2
,
"wm"
,
0
,
NULL
,
1
,
1
,
1
,
0
,
0
},
{
"pfadd"
,
pfaddCommand
,
-
2
,
"wm"
,
0
,
NULL
,
1
,
1
,
1
,
0
,
0
},
{
"pfcount"
,
pfcountCommand
,
-
2
,
"w"
,
0
,
NULL
,
1
,
1
,
1
,
0
,
0
},
{
"pfcount"
,
pfcountCommand
,
-
2
,
"w"
,
0
,
NULL
,
1
,
1
,
1
,
0
,
0
},
...
@@ -2446,7 +2446,7 @@ void addReplyCommand(redisClient *c, struct redisCommand *cmd) {
...
@@ -2446,7 +2446,7 @@ void addReplyCommand(redisClient *c, struct redisCommand *cmd) {
}
}
}
}
void
command
s
Command
(
redisClient
*
c
)
{
void
commandCommand
(
redisClient
*
c
)
{
dictIterator
*
di
;
dictIterator
*
di
;
dictEntry
*
de
;
dictEntry
*
de
;
...
...
src/redis.h
View file @
3364b2d1
...
@@ -1327,7 +1327,7 @@ uint64_t redisBuildId(void);
...
@@ -1327,7 +1327,7 @@ uint64_t redisBuildId(void);
void
authCommand
(
redisClient
*
c
);
void
authCommand
(
redisClient
*
c
);
void
pingCommand
(
redisClient
*
c
);
void
pingCommand
(
redisClient
*
c
);
void
echoCommand
(
redisClient
*
c
);
void
echoCommand
(
redisClient
*
c
);
void
command
s
Command
(
redisClient
*
c
);
void
commandCommand
(
redisClient
*
c
);
void
setCommand
(
redisClient
*
c
);
void
setCommand
(
redisClient
*
c
);
void
setnxCommand
(
redisClient
*
c
);
void
setnxCommand
(
redisClient
*
c
);
void
setexCommand
(
redisClient
*
c
);
void
setexCommand
(
redisClient
*
c
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment