ROLE command added.

The new ROLE command is designed in order to provide a client with
informations about the replication in a fast and easy to use way
compared to the INFO command where the same information is also
available.
This commit is contained in:
antirez
2014-06-07 17:27:49 +02:00
parent ea5335fb9b
commit 9b460e803a
3 changed files with 39 additions and 0 deletions

View File

@ -1395,6 +1395,7 @@ void ttlCommand(redisClient *c);
void pttlCommand(redisClient *c);
void persistCommand(redisClient *c);
void slaveofCommand(redisClient *c);
void roleCommand(redisClient *c);
void debugCommand(redisClient *c);
void msetCommand(redisClient *c);
void msetnxCommand(redisClient *c);