From: antirez Date: Tue, 8 Nov 2011 10:24:12 +0000 (+0100) Subject: yet another #if REDIS_MBULK_BIG_ARG removed. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/b0a2e34059b4b442a25fc7e25afde39706ad9034 yet another #if REDIS_MBULK_BIG_ARG removed. --- diff --git a/src/networking.c b/src/networking.c index 21064bf8..3e698cd5 100644 --- a/src/networking.c +++ b/src/networking.c @@ -868,7 +868,6 @@ void readQueryFromClient(aeEventLoop *el, int fd, void *privdata, int mask) { REDIS_NOTUSED(mask); readlen = REDIS_IOBUF_LEN; -#if REDIS_MBULK_BIG_ARG /* If this is a multi bulk request, and we are processing a bulk reply * that is large enough, try to maximize the probabilty that the query * buffer contains excatly the SDS string representing the object, even @@ -882,7 +881,6 @@ void readQueryFromClient(aeEventLoop *el, int fd, void *privdata, int mask) { if (remaining < readlen) readlen = remaining; } -#endif qblen = sdslen(c->querybuf); c->querybuf = sdsMakeRoomFor(c->querybuf, readlen);