MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / aborted_txn_error

Method aborted_txn_error

src/pgwire/src/protocol.rs:3130–3137  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

3128
3129 #[instrument(level = "debug")]
3130 async fn aborted_txn_error(&mut self) -> Result<State, io::Error> {
3131 self.send(BackendMessage::ErrorResponse(ErrorResponse::error(
3132 SqlState::IN_FAILED_SQL_TRANSACTION,
3133 ABORTED_TXN_MSG,
3134 )))
3135 .await?;
3136 Ok(State::Drain)
3137 }
3138
3139 fn is_aborted_txn(&mut self) -> bool {
3140 matches!(

Callers 4

queryMethod · 0.80
parseMethod · 0.80
bindMethod · 0.80
executeMethod · 0.80

Calls 3

errorFunction · 0.85
ErrorResponseClass · 0.50
sendMethod · 0.45

Tested by

no test coverage detected