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 32d0a79f78
commit d34c2fa3bb
3 changed files with 39 additions and 0 deletions

View File

@ -1394,6 +1394,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);