MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / Info_SectionAddEntryDouble

Function Info_SectionAddEntryDouble

src/commands/cmd_info.c:78–90  ·  view source on GitHub ↗

adds a new entry to the current section

Source from the content-addressed store, hash-verified

76
77// adds a new entry to the current section
78static 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
93static void _emit_running_query

Callers 2

_emit_running_queryFunction · 0.85
_emit_waiting_queryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected