| 1 | #include "duckdb/planner/operator/logical_empty_result.hpp" |
|---|---|
| 2 | |
| 3 | using namespace duckdb; |
| 4 | using namespace std; |
| 5 | |
| 6 | LogicalEmptyResult::LogicalEmptyResult(unique_ptr<LogicalOperator> op) |
| 7 | : LogicalOperator(LogicalOperatorType::EMPTY_RESULT) { |
| 8 | |
| 9 | this->bindings = op->GetColumnBindings(); |
| 10 | |
| 11 | op->ResolveOperatorTypes(); |
| 12 | this->return_types = op->types; |
| 13 | } |
| 14 |