Skip to content

Conversation

@JSCU-CNI
Copy link

@JSCU-CNI JSCU-CNI commented Feb 2, 2026

This PR fixes Cell.data reading for databases when parsing a cell value larger than the (usable) page size. Currently the overflow page lookup implementation does not calculate the data_size correctly for databases with header.reserved_size set.

@Schamper
Copy link
Member

Schamper commented Feb 3, 2026

You know the question that's coming: is it possible to have some test data for this edge case?

Also @PimSanders since you've been looking into SQLite for a little while now, what are your thoughts on this?

@JSCU-CNI
Copy link
Author

JSCU-CNI commented Feb 3, 2026

You know the question that's coming: is it possible to have some test data for this edge case?

The PR for #17 will include test data that covers this change.

@JSCU-CNI
Copy link
Author

JSCU-CNI commented Feb 3, 2026

Added a separate test for this case in 3a09e78.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants