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