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
673c9d70
Commit
673c9d70
authored
Oct 17, 2019
by
antirez
Browse files
module: fix propagation API bug.
parent
97f6e314
Changes
1
Show whitespace changes
Inline
Side-by-side
src/module.c
View file @
673c9d70
...
...
@@ -561,9 +561,9 @@ void moduleHandlePropagationAfterCommandCallback(RedisModuleCtx *ctx) {
propagate
(
rop
->
cmd
,
rop
->
dbid
,
rop
->
argv
,
rop
->
argc
,
target
);
}
redisOpArrayFree
(
&
server
.
also_propagate
);
}
/* Restore the previous oparray in case of nexted use of the API. */
server
.
also_propagate
=
ctx
->
saved_oparray
;
}
}
/* Free the context after the user function was called. */
...
...
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