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

Method commit_transaction

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

Source from the content-addressed store, hash-verified

1304 /// Commits and clears the current transaction.
1305 #[instrument(level = "debug")]
1306 async fn commit_transaction(&mut self) -> Result<(), io::Error> {
1307 self.end_transaction(EndTransactionAction::Commit).await
1308 }
1309
1310 /// Rollback and clears the current transaction.
1311 #[instrument(level = "debug")]

Callers 3

ensure_transactionMethod · 0.45
queryMethod · 0.45
syncMethod · 0.45

Calls 1

end_transactionMethod · 0.45

Tested by

no test coverage detected