last executed command in CLIENT LIST output.

This commit is contained in:
antirez
2011-11-24 14:56:34 +01:00
parent 3c95e7212e
commit 2c74a9f948
3 changed files with 6 additions and 5 deletions

View File

@ -294,7 +294,7 @@ typedef struct redisClient {
sds querybuf;
int argc;
robj **argv;
struct redisCommand *cmd;
struct redisCommand *cmd, *lastcmd;
int reqtype;
int multibulklen; /* number of multi bulk arguments left to read */
long bulklen; /* length of bulk argument in multi bulk request */