From 8d20c7d9bba6ca8feec77628d79cf33698a40ad4 Mon Sep 17 00:00:00 2001 From: Yossi Gottlieb Date: Tue, 9 Jul 2013 11:59:24 +0300 Subject: [PATCH] Fix issue with DRAIN failing on servers that exceed maxmemory. --- src/redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis.c b/src/redis.c index 78b61fca9..96f5b7a4b 100755 --- a/src/redis.c +++ b/src/redis.c @@ -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},