You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous Turso patch (effective_temp_store always Memory) also
crashed testReconstructTable, so even compile-time changes to temp
table routing trip Turso's pager hypersensitivity.
Try a more targeted Turso patch: in `sqlite3_ondisk::begin_read_page`,
match SQLite's behaviour and treat a 0-byte read as a zero-filled
page instead of returning ShortRead. This is the root cause of the
"short read on page N: expected 4096 bytes, got 0" error that breaks
the temp-table tests; the existing code already has an empty-buffer
fallback path for when `allow_empty_read` is true — we just route
the bytes_read==0 case there unconditionally. Truncated reads
(1..buf_len-1) are still rejected.
0 commit comments