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