Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix serial type decoding for BLOB and TEXT #264

Closed
wants to merge 1 commit into from

Conversation

travenin
Copy link
Contributor

@travenin travenin commented Aug 2, 2024

Replace > with >= to match the SQLite documentation. Serial type value 12 is for 0-size BLOB, and 13 is for 0-size TEXT.

Should I have filed a separate bug ticket? This seemed easy to fix straight away.

Should I add more test cases? Anyway it looks like testing.db doesn't have empty strings - or blobs at all.

Replace `>` with `>=` to match the SQLite documentation. Serial type
value `12` is for 0-size BLOB, and `13` is for 0-size TEXT.
@penberg penberg closed this in c020f87 Aug 2, 2024
penberg added a commit that referenced this pull request Sep 22, 2024
Replace `>` with `>=` to match the [SQLite documentation](https://www.sqlite.org/fileformat.html#record_format).

Serial type value `12` is for 0-size BLOB, and `13` is for 0-size TEXT.

Closes #264
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.

1 participant