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