| 1 | #include "duckdb/execution/operator/helper/physical_execute.hpp" |
|---|---|
| 2 | |
| 3 | #include "duckdb/parallel/meta_pipeline.hpp" |
| 4 | |
| 5 | namespace duckdb { |
| 6 | |
| 7 | PhysicalExecute::PhysicalExecute(PhysicalOperator &plan) |
| 8 | : PhysicalOperator(PhysicalOperatorType::EXECUTE, plan.types, -1), plan(plan) { |
| 9 | } |
| 10 | |
| 11 | vector<const_reference<PhysicalOperator>> PhysicalExecute::GetChildren() const { |
| 12 | return {plan}; |
| 13 | } |
| 14 | |
| 15 | void PhysicalExecute::BuildPipelines(Pipeline ¤t, MetaPipeline &meta_pipeline) { |
| 16 | // EXECUTE statement: build pipeline on child |
| 17 | meta_pipeline.Build(op&: plan); |
| 18 | } |
| 19 | |
| 20 | } // namespace duckdb |
| 21 |