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