mirror of
https://github.com/fluencelabs/redis
synced 2025-04-01 15:21:03 +00:00
A comment moved a few lines for clarity.
This commit is contained in:
parent
94d490b9f6
commit
ca908473e8
@ -789,10 +789,10 @@ int processMultibulkBuffer(redisClient *c) {
|
|||||||
/* Not enough data (+2 == trailing \r\n) */
|
/* Not enough data (+2 == trailing \r\n) */
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
|
#ifdef REDIS_MBULK_BIG_ARG
|
||||||
/* Optimization: if the buffer contanins JUST our bulk element
|
/* Optimization: if the buffer contanins JUST our bulk element
|
||||||
* instead of creating a new object by *copying* the sds we
|
* instead of creating a new object by *copying* the sds we
|
||||||
* just use the current sds string. */
|
* just use the current sds string. */
|
||||||
#ifdef REDIS_MBULK_BIG_ARG
|
|
||||||
if (pos == 0 &&
|
if (pos == 0 &&
|
||||||
c->bulklen >= REDIS_MBULK_BIG_ARG &&
|
c->bulklen >= REDIS_MBULK_BIG_ARG &&
|
||||||
(signed) sdslen(c->querybuf) == c->bulklen+2)
|
(signed) sdslen(c->querybuf) == c->bulklen+2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user