summaryrefslogtreecommitdiff
path: root/src/redis.c
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2013-01-15 09:08:14 +0200
committerYossi Gottlieb <yossigo@gmail.com>2013-01-15 09:25:23 +0200
commitd195e8bb8225bae62b8a714b9c02a472bc601e2f (patch)
treeae7c709630eae475dcf276c505a1011c38756e18 /src/redis.c
parent142a8099cb36d194ed92d79b7b116a8c505da8c4 (diff)
parent78b175a241a4f86a427862acb71d1a2840e75671 (diff)
downloadredis-2.6.8-1.tar.gz
Merge upstream Redis 2.6.8.2.6.8-1
Diffstat (limited to 'src/redis.c')
-rwxr-xr-xsrc/redis.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/redis.c b/src/redis.c
index e6731ba8b..04289db23 100755
--- a/src/redis.c
+++ b/src/redis.c
@@ -1655,8 +1655,9 @@ void call(redisClient *c, int flags) {
if (flags != REDIS_PROPAGATE_NONE)
propagate(c->cmd,c->db->id,c->argv,c->argc,flags);
}
- /* Commands such as LPUSH or BRPOPLPUSH may propagate an additional
- * PUSH command. */
+
+ /* Handle the alsoPropagate() API to handle commands that want to propagate
+ * multiple separated commands. */
if (server.also_propagate.numops) {
int j;
redisOp *rop;