| 1 | #include "duckdb/parser/statement/export_statement.hpp" |
|---|---|
| 2 | |
| 3 | namespace duckdb { |
| 4 | |
| 5 | ExportStatement::ExportStatement(unique_ptr<CopyInfo> info) |
| 6 | : SQLStatement(StatementType::EXPORT_STATEMENT), info(std::move(info)) { |
| 7 | } |
| 8 | |
| 9 | ExportStatement::ExportStatement(const ExportStatement &other) : SQLStatement(other), info(other.info->Copy()) { |
| 10 | } |
| 11 | |
| 12 | unique_ptr<SQLStatement> ExportStatement::Copy() const { |
| 13 | return unique_ptr<ExportStatement>(new ExportStatement(*this)); |
| 14 | } |
| 15 | |
| 16 | } // namespace duckdb |
| 17 |