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
7923d71f
Commit
7923d71f
authored
Dec 01, 2014
by
Deepak Verma
Browse files
replaced // comments #2150
parent
560ec60e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-benchmark.c
View file @
7923d71f
...
@@ -213,11 +213,11 @@ static void readHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
...
@@ -213,11 +213,11 @@ static void readHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
}
}
freeReplyObject
(
reply
);
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
)
{
if
(
c
->
prefix_pending
>
0
)
{
c
->
prefix_pending
--
;
c
->
prefix_pending
--
;
c
->
pending
--
;
c
->
pending
--
;
/
/
Discard prefix commands on first response.
/
*
Discard prefix commands on first response.
*/
if
(
c
->
prefixlen
>
0
)
{
if
(
c
->
prefixlen
>
0
)
{
size_t
j
;
size_t
j
;
sdsrange
(
c
->
obuf
,
c
->
prefixlen
,
-
1
);
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