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

Function _QueryCtx_GetCtx

src/query_ctx.c:40–43  ·  view source on GitHub ↗

retrieve QueryCtx, return NULL if one does not exist

Source from the content-addressed store, hash-verified

38
39// retrieve QueryCtx, return NULL if one does not exist
40static inline QueryCtx *_QueryCtx_GetCtx(void) {
41 QueryCtx *ctx = pthread_getspecific(_tlsQueryCtxKey);
42 return ctx;
43}
44
45// rax callback routine for freeing computed parameter values
46static void _ParameterFreeCallback(void *param_val) {

Callers 11

QueryCtx_GetASTFunction · 0.85
QueryCtx_GetParamsFunction · 0.85
QueryCtx_GetGraphCtxFunction · 0.85
QueryCtx_GetUndoLogFunction · 0.85
QueryCtx_RollbackFunction · 0.85
QueryCtx_GetResultSetFunction · 0.85
QueryCtx_UnlockCommitFunction · 0.85
QueryCtx_GetRuntimeFunction · 0.85
QueryCtx_FreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected