1#include "duckdb/parser/statement/execute_statement.hpp"
2
3namespace duckdb {
4
5ExecuteStatement::ExecuteStatement() : SQLStatement(StatementType::EXECUTE_STATEMENT) {
6}
7
8ExecuteStatement::ExecuteStatement(const ExecuteStatement &other) : SQLStatement(other), name(other.name) {
9 for (const auto &value : other.values) {
10 values.push_back(x: value->Copy());
11 }
12}
13
14unique_ptr<SQLStatement> ExecuteStatement::Copy() const {
15 return unique_ptr<ExecuteStatement>(new ExecuteStatement(*this));
16}
17
18} // namespace duckdb
19