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

Function QueryCtx_SetUtilizedCache

src/query_ctx.c:156–164  ·  view source on GitHub ↗

sets the "utilized_cache" flag of a QueryInfo

Source from the content-addressed store, hash-verified

154
155// sets the "utilized_cache" flag of a QueryInfo
156void QueryCtx_SetUtilizedCache
157(
158 QueryCtx *ctx, // query context
159 bool utilized // cache utilized
160) {
161 ASSERT(ctx != NULL);
162
163 ctx->stats.utilized_cache = utilized;
164}
165
166// sets the global execution context
167void QueryCtx_SetGlobalExecutionCtx

Callers 1

_queryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected