Fix issue with DRAIN failing on servers that exceed maxmemory.

This commit is contained in:
Yossi Gottlieb
2013-07-09 11:59:24 +03:00
parent 910938e016
commit 8d20c7d9bb
+1 -1
View File
@@ -249,7 +249,7 @@ struct redisCommand redisCommandTable[] = {
{"eval",evalCommand,-3,"s",0,zunionInterGetKeys,0,0,0,0,0},
{"evalsha",evalShaCommand,-3,"s",0,zunionInterGetKeys,0,0,0,0,0},
{"slowlog",slowlogCommand,-2,"r",0,NULL,0,0,0,0,0},
{"drain",drainCommand,1,"arsm",0,NULL,0,0,0,0,0},
{"drain",drainCommand,1,"ars",0,NULL,0,0,0,0,0},
{"script",scriptCommand,-2,"ras",0,NULL,0,0,0,0,0},
{"time",timeCommand,1,"rR",0,NULL,0,0,0,0,0},
{"bitop",bitopCommand,-4,"wm",0,NULL,2,-1,1,0,0},