Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b0a2e340
Commit
b0a2e340
authored
Nov 08, 2011
by
antirez
Browse files
yet another #if REDIS_MBULK_BIG_ARG removed.
parent
53272781
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networking.c
View file @
b0a2e340
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment