limbo/core/storage
Jussi Saurio 3ba9f2ab97 Small cleanups to pager/wal/vdbe - mostly naming
- Instead of using a confusing CheckpointStatus for many different things,
  introduce the following statuses:
    * PagerCacheflushStatus - cacheflush can result in either:
      - the WAL being written to disk and fsynced
      - but also a checkpoint to the main BD file, and fsyncing the main DB file

      Reflect this in the type.
    * WalFsyncStatus - previously CheckpointStatus was also used for this, even
      though fsyncing the WAL doesn't checkpoint.
    * CheckpointStatus/CheckpointResult is now used only for actual checkpointing.

- Rename HaltState to CommitState (program.halt_state -> program.commit_state)
- Make WAL a non-optional property in Pager
  * This gets rid of a lot of if let Some(...) boilerplate
  * For ephemeral indexes, provide a DummyWAL implementation that does nothing.
- Rename program.halt() to program.commit_txn()
- Add some documentation comments to structs and functions
2025-05-26 10:37:34 +03:00
..
btree.rs Small cleanups to pager/wal/vdbe - mostly naming 2025-05-26 10:37:34 +03:00
buffer_pool.rs core: Move buffer_pool.rs to storage module 2024-08-01 11:53:14 +03:00
database.rs Fix dumb clippy errors 2025-04-13 11:10:06 -03:00
mod.rs Minor improvements and cleanups in btree 2025-03-01 15:48:42 -05:00
page_cache.rs clippy 2025-05-21 15:27:15 +02:00
pager.rs Small cleanups to pager/wal/vdbe - mostly naming 2025-05-26 10:37:34 +03:00
sqlite3_ondisk.rs Fix off-by-one error in max_frame after WAL load 2025-05-25 19:34:51 +03:00
wal.rs Small cleanups to pager/wal/vdbe - mostly naming 2025-05-26 10:37:34 +03:00