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