diff options
Diffstat (limited to 'src/scripting.c')
-rw-r--r-- | src/scripting.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scripting.c b/src/scripting.c index 2eac840c5..75788a3a5 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -221,7 +221,8 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) { if (cmd->flags & REDIS_CMD_WRITE) server.lua_write_dirty = 1; /* Run the command */ - cmd->proc(c); + c->cmd = cmd; + call(c,REDIS_CALL_SLOWLOG | REDIS_CALL_STATS); /* Convert the result of the Redis command into a suitable Lua type. * The first thing we need is to create a single string from the client |