1 | #include "duckdb/parallel/base_pipeline_event.hpp" |
---|---|
2 | |
3 | namespace duckdb { |
4 | |
5 | BasePipelineEvent::BasePipelineEvent(shared_ptr<Pipeline> pipeline_p) |
6 | : Event(pipeline_p->executor), pipeline(std::move(pipeline_p)) { |
7 | } |
8 | |
9 | BasePipelineEvent::BasePipelineEvent(Pipeline &pipeline_p) |
10 | : Event(pipeline_p.executor), pipeline(pipeline_p.shared_from_this()) { |
11 | } |
12 | |
13 | } // namespace duckdb |
14 |