Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
86ebc139
Commit
86ebc139
authored
Dec 01, 2014
by
Deepak Verma
Committed by
antirez
Dec 09, 2014
Browse files
replaced // comments #2150
parent
3d73f088
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-benchmark.c
View file @
86ebc139
...
...
@@ -213,11 +213,11 @@ static void readHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
}
freeReplyObject
(
reply
);
/
/
This is an OK for prefix commands such as auth and select.
/
*
This is an OK for prefix commands such as auth and select.
*/
if
(
c
->
prefix_pending
>
0
)
{
c
->
prefix_pending
--
;
c
->
pending
--
;
/
/
Discard prefix commands on first response.
/
*
Discard prefix commands on first response.
*/
if
(
c
->
prefixlen
>
0
)
{
size_t
j
;
sdsrange
(
c
->
obuf
,
c
->
prefixlen
,
-
1
);
...
...
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