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
9df77fc0
Commit
9df77fc0
authored
Apr 14, 2014
by
antirez
Browse files
Mark PFDEBUG as write command in the commands table.
It is safer since it is able to have side effects.
parent
3bc35f9c
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis.c
View file @
9df77fc0
...
@@ -274,7 +274,7 @@ struct redisCommand redisCommandTable[] = {
...
@@ -274,7 +274,7 @@ struct redisCommand redisCommandTable[] = {
{
"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
},
{
"pfmerge"
,
pfmergeCommand
,
-
2
,
"wm"
,
0
,
NULL
,
1
,
-
1
,
1
,
0
,
0
},
{
"pfmerge"
,
pfmergeCommand
,
-
2
,
"wm"
,
0
,
NULL
,
1
,
-
1
,
1
,
0
,
0
},
{
"pfdebug"
,
pfdebugCommand
,
-
3
,
"
r
"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
}
{
"pfdebug"
,
pfdebugCommand
,
-
3
,
"
w
"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
}
};
};
struct
evictionPoolEntry
*
evictionPoolAlloc
(
void
);
struct
evictionPoolEntry
*
evictionPoolAlloc
(
void
);
...
...
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