Packages

An Elixir DuckDB library

Current section

Files

Jump to
exduckdb c_src duckdb src parser statement transaction_statement.cpp
Raw

c_src/duckdb/src/parser/statement/transaction_statement.cpp

#include "duckdb/parser/statement/transaction_statement.hpp"
namespace duckdb {
TransactionStatement::TransactionStatement(TransactionType type)
: SQLStatement(StatementType::TRANSACTION_STATEMENT), info(make_unique<TransactionInfo>(type)) {
}
unique_ptr<SQLStatement> TransactionStatement::Copy() const {
return make_unique_base<SQLStatement, TransactionStatement>(info->type);
}
} // namespace duckdb