| 1 | #include "duckdb/parser/statement/call_statement.hpp" |
|---|---|
| 2 | |
| 3 | namespace duckdb { |
| 4 | |
| 5 | CallStatement::CallStatement() : SQLStatement(StatementType::CALL_STATEMENT) { |
| 6 | } |
| 7 | |
| 8 | CallStatement::CallStatement(const CallStatement &other) : SQLStatement(other), function(other.function->Copy()) { |
| 9 | } |
| 10 | |
| 11 | unique_ptr<SQLStatement> CallStatement::Copy() const { |
| 12 | return unique_ptr<CallStatement>(new CallStatement(*this)); |
| 13 | } |
| 14 | |
| 15 | } // namespace duckdb |
| 16 |