mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Mark PFDEBUG as write command in the commands table.
It is safer since it is able to have side effects.
This commit is contained in:
parent
3bc35f9ce9
commit
9df77fc0c4
@ -274,7 +274,7 @@ struct redisCommand redisCommandTable[] = {
|
||||
{"pfadd",pfaddCommand,-2,"wm",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},
|
||||
{"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);
|
||||
|
Loading…
Reference in New Issue
Block a user