X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/2c861050c17237a61fdaff4da2777c5d18ce979a..66d1b021ec0063c988e837a78356e72d8ed180ca:/src/scripting.c?ds=sidebyside diff --git a/src/scripting.c b/src/scripting.c index 2eac840c..75788a3a 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