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