limbo/core/storage
Jussi Saurio 7c6a4410d2 Merge '(btree): Implement support for handling offset-based payload access with overflow support' from Krishna Vishal
This PR adds a new function `read_write_payload_with_offset` to support
reading and writing payload data at specific offsets, handling both
local content and overflow pages. This is a port of SQLite's
`accessPayload` function in `btree.c` and will be essential for
supporting incremental blob I/O in the coming PRs.
- Added a state machine called `PayloadOverflowWithOffset` to make the
procedure reentrant.
- Correctly processes both local payload data and payload stored in
overflow pages
Testing:
- Reading and writing to a column with no overflow pages.
- Reading and writing at an offset with overflow pages (spanning 10
pages)

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

Closes #1476
2025-05-18 22:58:10 +03:00
..
btree.rs Merge '(btree): Implement support for handling offset-based payload access with overflow support' from Krishna Vishal 2025-05-18 22:58:10 +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 Request load page on insert_into_page 2025-04-02 16:24:53 +02:00
pager.rs sqlite3: Add libsql_wal_frame_count() API 2025-05-15 11:43:44 +03:00
sqlite3_ondisk.rs Rename OwnedValue -> Value 2025-05-15 09:59:46 +03:00
wal.rs fix some issues about page_size 2025-04-28 16:13:07 +08:00