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

Function Info_SectionAddEntryLongLong

src/commands/cmd_info.c:63–75  ·  view source on GitHub ↗

adds a new entry to the current section

Source from the content-addressed store, hash-verified

61
62// adds a new entry to the current section
63static void Info_SectionAddEntryLongLong
64(
65 RedisModuleCtx *ctx, // redis module context
66 const char *entry_name, // entry name
67 long long entry_value // entry value
68) {
69 // validate arguments
70 ASSERT(ctx != NULL);
71 ASSERT(entry_name != NULL);
72
73 RedisModule_ReplyWithCString(ctx, entry_name);
74 RedisModule_ReplyWithLongLong(ctx, entry_value);
75}
76
77// adds a new entry to the current section
78static void Info_SectionAddEntryDouble

Callers 2

_emit_running_queryFunction · 0.85
_emit_waiting_queryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected