| 57 | } |
| 58 | |
| 59 | void reduceScans(ExecutionPlan *plan) { |
| 60 | // Collect all SCAN operations within the execution plan. |
| 61 | OpBase **scans = ExecutionPlan_CollectOpsMatchingTypes(plan->root, SCAN_OPS, SCAN_OP_COUNT); |
| 62 | uint scan_count = array_len(scans); |
| 63 | for(uint i = 0; i < scan_count; i++) { |
| 64 | _reduceScans(plan, scans[i]); |
| 65 | } |
| 66 | |
| 67 | array_free(scans); |
| 68 | } |
| 69 |
no test coverage detected