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