Commit cedcc54e authored by swilly22's avatar swilly22 Committed by antirez
Browse files

document additional flag of RM_GetContextFlags

parent 26e98da2
...@@ -1358,6 +1358,9 @@ int RM_GetSelectedDb(RedisModuleCtx *ctx) { ...@@ -1358,6 +1358,9 @@ int RM_GetSelectedDb(RedisModuleCtx *ctx) {
* *
* * REDISMODULE_CTX_FLAGS_MULTI: The command is running inside a transaction * * REDISMODULE_CTX_FLAGS_MULTI: The command is running inside a transaction
* *
* * REDISMODULE_CTX_FLAGS_REPLICATED: The command was sent over the replication
* link by the MASTER
*
* * REDISMODULE_CTX_FLAGS_MASTER: The Redis instance is a master * * REDISMODULE_CTX_FLAGS_MASTER: The Redis instance is a master
* *
* * REDISMODULE_CTX_FLAGS_SLAVE: The Redis instance is a slave * * REDISMODULE_CTX_FLAGS_SLAVE: The Redis instance is a slave
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment