mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
![]() 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 |
||
---|---|---|
.. | ||
btree.rs | ||
buffer_pool.rs | ||
database.rs | ||
mod.rs | ||
page_cache.rs | ||
pager.rs | ||
sqlite3_ondisk.rs | ||
wal.rs |