adds a new entry to the current section
| 76 | |
| 77 | // adds a new entry to the current section |
| 78 | static void Info_SectionAddEntryDouble |
| 79 | ( |
| 80 | RedisModuleCtx *ctx, // redis module context |
| 81 | const char *entry_name, // entry name |
| 82 | double entry_value // entry value |
| 83 | ) { |
| 84 | // validate arguments |
| 85 | ASSERT(ctx != NULL); |
| 86 | ASSERT(entry_name != NULL); |
| 87 | |
| 88 | RedisModule_ReplyWithCString(ctx, entry_name); |
| 89 | RedisModule_ReplyWithDouble(ctx, entry_value); |
| 90 | } |
| 91 | |
| 92 | // replies with query information |
| 93 | static void _emit_running_query |
no outgoing calls
no test coverage detected