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