Skip to content

Commit

Permalink
readme: Update Transaciton notes
Browse files Browse the repository at this point in the history
  • Loading branch information
blackbeam committed Jun 1, 2022
1 parent 0c7889f commit 6fbf0e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ Please note:
and ends with `COMMIT` or `ROLLBACK`.

Dropped transaction will be implicitly rolled back if it wasn't explicitly
committed or rolled back. This behaviour will be triggered by a pool
or by the next query.
committed or rolled back. Note that this behaviour will be triggered by a pool
(on conn drop) or by the next query, i.e. may be delayed.

API won't allow you to run nested transactions because some statements causes
an implicit commit (`START TRANSACTION` is one of them), so this behavior
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@
//! and ends with `COMMIT` or `ROLLBACK`.
//!
//! Dropped transaction will be implicitly rolled back if it wasn't explicitly
//! committed or rolled back. This behaviour will be triggered by a pool
//! or by the next query.
//! committed or rolled back. Note that this behaviour will be triggered by a pool
//! (on conn drop) or by the next query, i.e. may be delayed.
//!
//! API won't allow you to run nested transactions because some statements causes
//! an implicit commit (`START TRANSACTION` is one of them), so this behavior
Expand Down

0 comments on commit 6fbf0e2

Please sign in to comment.