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