]> git.saurik.com Git - redis.git/commitdiff
yet another #if REDIS_MBULK_BIG_ARG removed.
authorantirez <antirez@gmail.com>
Tue, 8 Nov 2011 10:24:12 +0000 (11:24 +0100)
committerantirez <antirez@gmail.com>
Tue, 8 Nov 2011 10:24:12 +0000 (11:24 +0100)
src/networking.c

index 21064bf8259b5b29176010bcd9c55f915ec48866..3e698cd58fc61e5fd4be835d4e1f7ac6b1332c34 100644 (file)
@@ -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);