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

Function Info_SectionAddEntryString

src/commands/cmd_info.c:47–60  ·  view source on GitHub ↗

adds a new entry to the current section

Source from the content-addressed store, hash-verified

45
46// adds a new entry to the current section
47static void Info_SectionAddEntryString
48(
49 RedisModuleCtx *ctx, // redis module context
50 const char *entry_name, // entry name
51 const char *entry_value // entry value
52) {
53 // validate arguments
54 ASSERT(ctx != NULL);
55 ASSERT(entry_name != NULL);
56 ASSERT(entry_value != NULL);
57
58 RedisModule_ReplyWithCString(ctx, entry_name);
59 RedisModule_ReplyWithCString(ctx, entry_value);
60}
61
62// adds a new entry to the current section
63static void Info_SectionAddEntryLongLong

Callers 2

_emit_running_queryFunction · 0.85
_emit_waiting_queryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected