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