(&mut self)
| 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!( |