1#include "duckdb/parser/statement/extension_statement.hpp"
2
3namespace duckdb {
4
5ExtensionStatement::ExtensionStatement(ParserExtension extension_p, unique_ptr<ParserExtensionParseData> parse_data_p)
6 : SQLStatement(StatementType::EXTENSION_STATEMENT), extension(std::move(extension_p)),
7 parse_data(std::move(parse_data_p)) {
8}
9
10unique_ptr<SQLStatement> ExtensionStatement::Copy() const {
11 return make_uniq<ExtensionStatement>(args: extension, args: parse_data->Copy());
12}
13
14} // namespace duckdb
15