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
2403fc9f
Commit
2403fc9f
authored
Sep 02, 2010
by
Pieter Noordhuis
Browse files
Intialize bufpos in the fake client
parent
0537e7bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/aof.c
View file @
2403fc9f
...
@@ -189,6 +189,7 @@ struct redisClient *createFakeClient(void) {
...
@@ -189,6 +189,7 @@ struct redisClient *createFakeClient(void) {
c
->
querybuf
=
sdsempty
();
c
->
querybuf
=
sdsempty
();
c
->
argc
=
0
;
c
->
argc
=
0
;
c
->
argv
=
NULL
;
c
->
argv
=
NULL
;
c
->
bufpos
=
0
;
c
->
flags
=
0
;
c
->
flags
=
0
;
/* We set the fake client as a slave waiting for the synchronization
/* We set the fake client as a slave waiting for the synchronization
* so that Redis will not try to send replies to this client. */
* so that Redis will not try to send replies to this client. */
...
...
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