mirror of
https://github.com/fluencelabs/redis
synced 2025-04-01 23:31:03 +00:00
yet another #if REDIS_MBULK_BIG_ARG removed.
This commit is contained in:
parent
53272781d0
commit
b0a2e34059
@ -868,7 +868,6 @@ void readQueryFromClient(aeEventLoop *el, int fd, void *privdata, int mask) {
|
|||||||
REDIS_NOTUSED(mask);
|
REDIS_NOTUSED(mask);
|
||||||
|
|
||||||
readlen = REDIS_IOBUF_LEN;
|
readlen = REDIS_IOBUF_LEN;
|
||||||
#if REDIS_MBULK_BIG_ARG
|
|
||||||
/* If this is a multi bulk request, and we are processing a bulk reply
|
/* 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
|
* that is large enough, try to maximize the probabilty that the query
|
||||||
* buffer contains excatly the SDS string representing the object, even
|
* 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;
|
if (remaining < readlen) readlen = remaining;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
qblen = sdslen(c->querybuf);
|
qblen = sdslen(c->querybuf);
|
||||||
c->querybuf = sdsMakeRoomFor(c->querybuf, readlen);
|
c->querybuf = sdsMakeRoomFor(c->querybuf, readlen);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user