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

Function _ExecutionPlanInit

src/execution_plan/execution_plan.c:419–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417}
418
419static void _ExecutionPlanInit(OpBase *root) {
420 // If the ExecutionPlan associated with this op hasn't built a record pool yet, do so now.
421 _ExecutionPlan_InitRecordPool((ExecutionPlan *)root->plan);
422
423 // Initialize the operation if necessary.
424 if(root->init) root->init(root);
425
426 // Continue initializing downstream operations.
427 for(int i = 0; i < root->childCount; i++) {
428 _ExecutionPlanInit(root->children[i]);
429 }
430}
431
432void ExecutionPlan_Init(ExecutionPlan *plan) {
433 _ExecutionPlanInit(plan->root);

Callers 1

ExecutionPlan_InitFunction · 0.85

Calls 2

initMethod · 0.80

Tested by

no test coverage detected