summaryrefslogtreecommitdiff
path: root/src/multi.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2012-02-02 16:30:52 +0100
committerantirez <antirez@gmail.com>2012-02-02 16:30:52 +0100
commitce8b772be7dcd0dec767c7bdfa3b8702806d69c4 (patch)
tree0eaa595f8e0956746e18da269a9c95b7dc3b6365 /src/multi.c
parentd876678b5eb0db0df66a658faeb8fb71e236a634 (diff)
downloadredis-ce8b772be7dcd0dec767c7bdfa3b8702806d69c4.tar.gz
Now Lua scripts dispatch Redis commands properly calling the call() function. In order to make this possible call() was improved with a new flags argument that controls how the Redis command is executed.
Diffstat (limited to 'src/multi.c')
-rw-r--r--src/multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multi.c b/src/multi.c
index 1504bb09b..65ec38a8d 100644
--- a/src/multi.c
+++ b/src/multi.c
@@ -112,7 +112,7 @@ void execCommand(redisClient *c) {
c->argc = c->mstate.commands[j].argc;
c->argv = c->mstate.commands[j].argv;
c->cmd = c->mstate.commands[j].cmd;
- call(c);
+ call(c,REDIS_CALL_FULL);
/* Commands may alter argc/argv, restore mstate. */
c->mstate.commands[j].argc = c->argc;