summaryrefslogtreecommitdiff
path: root/src/scripting.c
diff options
context:
space:
mode:
authorzhaozhao.zz <zhaozhao.zz@alibaba-inc.com>2019-11-22 15:45:21 +0800
committerzhaozhao.zz <zhaozhao.zz@alibaba-inc.com>2019-11-22 15:45:21 +0800
commitc73d70fb4654f1758c73e4d23e278e1c01575ffa (patch)
treedbf729fc528231de55662fbc4e3d39bd758e5466 /src/scripting.c
parent37a10cef028f0ed16e6768dabdd3ffa56fc77761 (diff)
downloadredis-c73d70fb4654f1758c73e4d23e278e1c01575ffa.tar.gz
Propagation: propagate EXEC directly in lua script
Diffstat (limited to 'src/scripting.c')
-rw-r--r--src/scripting.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/scripting.c b/src/scripting.c
index dc2510f98..b1eaae12f 100644
--- a/src/scripting.c
+++ b/src/scripting.c
@@ -1591,8 +1591,7 @@ void evalGenericCommand(client *c, int evalsha) {
if (server.lua_replicate_commands) {
preventCommandPropagation(c);
if (server.lua_multi_emitted) {
- alsoPropagate(server.execCommand,c->db->id,&shared.exec,1,
- PROPAGATE_AOF|PROPAGATE_REPL);
+ execCommandPropagateExec(c);
}
}