mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-02 14:54:23 +01:00
If upgrade from read to write transaction fails, don't roll back the transaction. Instead restore the transaction into its original state, which allows deferred transactions that have not read anything to restart automatically. Fixes #2984
Integration and regression test suite.
# run all tests
cargo test
# run individual test
cargo test test_sequential_write -- --nocapture