RM_GetContextFlags - document missing flags (#7821)

(cherry picked from commit 26ca04a8a2d46ee243e97cc80535c7c1e28d5c56)
This commit is contained in:
Oran Agra 2020-09-22 12:11:19 +03:00
parent 9d0388a043
commit ecf51b0b3d

View File

@ -1922,6 +1922,12 @@ int RM_GetSelectedDb(RedisModuleCtx *ctx) {
* *
* * REDISMODULE_CTX_FLAGS_ACTIVE_CHILD: There is currently some background * * REDISMODULE_CTX_FLAGS_ACTIVE_CHILD: There is currently some background
* process active (RDB, AUX or module). * process active (RDB, AUX or module).
*
* * REDISMODULE_CTX_FLAGS_MULTI_DIRTY: The next EXEC will fail due to dirty
* CAS (touched keys).
*
* * REDISMODULE_CTX_FLAGS_IS_CHILD: Redis is currently running inside
* background child process.
*/ */
int RM_GetContextFlags(RedisModuleCtx *ctx) { int RM_GetContextFlags(RedisModuleCtx *ctx) {