diff options
author | antirez <antirez@gmail.com> | 2014-04-14 15:57:50 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-04-16 15:09:47 +0200 |
commit | 64fbd15706ebc9efb4d70b8815ffc9d7295944a4 (patch) | |
tree | adb41afbe11042ebead1db7b081bc2fb51c4350b | |
parent | 159926a170342fb69a003c39f37d52e6b8fee116 (diff) | |
download | redis-64fbd15706ebc9efb4d70b8815ffc9d7295944a4.tar.gz |
Mark PFDEBUG as write command in the commands table.
It is safer since it is able to have side effects.
-rw-r--r-- | src/redis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis.c b/src/redis.c index 0c0106d75..899bed2eb 100644 --- a/src/redis.c +++ b/src/redis.c @@ -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); |