Files
turso/core
Jussi Saurio 9234ef86ae mvcc: fix two sources of panic
1. commit state machine was assuming that begin_write_tx() cannot
fail, but it can fail if there is another tx that is not using
BEGIN CONCURRENT.

2. if a brand new non-CONCURRENT transaction attempts to start
exclusive transaction but fails with Busy, we must end the read
pager read tx it just started, because otherwise the next time
it attempts to do something it will panic with:

"cannot start a new read tx without ending an existing one"
2025-09-15 10:59:44 +03:00
..
2025-09-15 09:29:08 +03:00
2025-09-05 14:56:05 -04:00
2025-09-12 08:20:40 -04:00
2025-09-15 10:59:44 +03:00
2025-09-14 23:44:24 +03:00
2025-06-30 10:01:03 +03:00
2025-09-14 21:59:08 +03:00
2025-09-15 09:29:08 +03:00
2025-08-15 17:08:53 -04:00
2025-01-28 14:55:38 -05:00
2025-09-13 11:00:39 +05:30
2025-09-13 11:00:37 +05:30
2025-06-23 19:52:13 +01:00
2025-08-30 03:10:39 -03:00
2025-01-28 14:55:38 -05:00
2025-09-14 21:59:08 +03:00
2025-06-23 19:52:13 +01:00
2025-09-14 21:59:08 +03:00
2025-06-30 09:54:13 +03:00
2025-09-05 14:56:09 -04:00