limbo/core/vdbe
Pekka Enberg 341f963a8e Merge 'Fix infinite loops, rollback problems, and other bugs found by I/O fault injection' from Pedro Muniz
Was running the sim with I/O faults enabled and fixed some nasty bugs.
Now, there are some more nasty bugs to fix as well. This is the command
that I use to run the simulator `cargo run -p limbo_sim -- --minimum-
tests 10 --maximum-tests 1000`
This PR mainly fixes the following bugs:
- Not decrementing in flight write counter when `pwrite` fails
- not rolling back the transaction on `step` error
- not rolling back the transaction on `run_once` error
- some functions were just being unwrapped when they could suffer io
errors
- Only change max_frame after wal sync's

Reviewed-by: Pere Diaz Bou <pere-altea@homail.com>
Reviewed-by: Pere Diaz Bou <pere-altea@homail.com>

Closes #1946
2025-07-07 21:31:26 +03:00
..
builder.rs Merge 'Fix infinite loops, rollback problems, and other bugs found by I/O fault injection' from Pedro Muniz 2025-07-07 21:31:26 +03:00
execute.rs rename change_schema to schema_did_change 2025-07-07 11:58:16 -03:00
explain.rs refactor: remove PseudoTable from Table 2025-06-30 14:31:58 -03:00
insn.rs Rename limbo_sqlite3_parser crate to turso_sqlite3_parser 2025-06-29 12:34:46 +03:00
likeop.rs Rename OwnedValue -> Value 2025-05-15 09:59:46 +03:00
mod.rs only rollback on write transaction 2025-07-07 12:10:54 -03:00
sorter.rs Rename limbo_sqlite3_parser crate to turso_sqlite3_parser 2025-06-29 12:34:46 +03:00