]> git.saurik.com Git - redis.git/blobdiff - src/scripting.c
ziplist.c endianess fixes, chapter 5.
[redis.git] / src / scripting.c
index 2eac840c52e5707829a57f5deab6950d9bf086cc..75788a3a5e25b50dd35ffc82187a85115108b484 100644 (file)
@@ -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