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

Function _process_segment

src/execution_plan/execution_plan.c:135–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135static ExecutionPlan *_process_segment(AST *ast, uint segment_start_idx,
136 uint segment_end_idx) {
137 ASSERT(ast != NULL);
138 ASSERT(segment_start_idx <= segment_end_idx);
139
140 ExecutionPlan *segment = NULL;
141
142 // Construct a new ExecutionPlanSegment.
143 segment = ExecutionPlan_NewEmptyExecutionPlan();
144 segment->ast_segment = ast;
145 ExecutionPlan_PopulateExecutionPlan(segment);
146
147 return segment;
148}
149
150static ExecutionPlan **_process_segments(AST *ast) {
151 uint nsegments = 0; // number of segments

Callers 1

_process_segmentsFunction · 0.85

Tested by

no test coverage detected