Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
bb0fbc84
Commit
bb0fbc84
authored
Apr 04, 2012
by
antirez
Browse files
SLAVEOF is not a write command.
parent
9a322ab7
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis.c
View file @
bb0fbc84
...
...
@@ -222,7 +222,7 @@ struct redisCommand redisCommandTable[] = {
{"ttl",ttlCommand,2,"r",0,NULL,1,1,1,0,0},
{"pttl",pttlCommand,2,"r",0,NULL,1,1,1,0,0},
{"persist",persistCommand,2,"w",0,NULL,1,1,1,0,0},
{
"slaveof"
,
slaveofCommand
,
3
,
"a
w
s"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{"slaveof",slaveofCommand,3,"as",0,NULL,0,0,0,0,0},
{"debug",debugCommand,-2,"as",0,NULL,0,0,0,0,0},
{"config",configCommand,-2,"ar",0,NULL,0,0,0,0,0},
{"subscribe",subscribeCommand,-2,"rps",0,NULL,0,0,0,0,0},
...
...
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