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
9387d17d
Commit
9387d17d
authored
Nov 01, 2009
by
antirez
Browse files
append only file loading fixed
parent
f80dff62
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
9387d17d
...
@@ -5346,6 +5346,9 @@ static struct redisClient *createFakeClient(void) {
...
@@ -5346,6 +5346,9 @@ static struct redisClient *createFakeClient(void) {
c->argc = 0;
c->argc = 0;
c->argv = NULL;
c->argv = NULL;
c->flags = 0;
c->flags = 0;
/* We set the fake client as a slave waiting for the synchronization
* so that Redis will not try to send replies to this client. */
c->replstate = REDIS_REPL_WAIT_BGSAVE_START;
c->reply = listCreate();
c->reply = listCreate();
listSetFreeMethod(c->reply,decrRefCount);
listSetFreeMethod(c->reply,decrRefCount);
listSetDupMethod(c->reply,dupClientReplyValue);
listSetDupMethod(c->reply,dupClientReplyValue);
...
...
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