1 | #include "duckdb/parser/statement/execute_statement.hpp" |
---|---|
2 | |
3 | namespace duckdb { |
4 | |
5 | ExecuteStatement::ExecuteStatement() : SQLStatement(StatementType::EXECUTE_STATEMENT) { |
6 | } |
7 | |
8 | ExecuteStatement::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 | |
14 | unique_ptr<SQLStatement> ExecuteStatement::Copy() const { |
15 | return unique_ptr<ExecuteStatement>(new ExecuteStatement(*this)); |
16 | } |
17 | |
18 | } // namespace duckdb |
19 |