Skip to main content

prohibited_in_transaction

Function prohibited_in_transaction 

Source
fn prohibited_in_transaction(stmt: &Statement<Raw>) -> AdapterError
Expand description

Builds the error for DML that cannot run in a transaction block, mirroring the coordinator’s redaction in handle_execute: statements that can carry sensitive literals are redacted because the error message is persisted in mz_statement_execution_history.