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 int64 handling sqlite3 #9441

Conversation

jchaffraix-slack
Copy link
Contributor

The extension was using the sqlite3_*_int API, which would truncate 64-bits
int to 32-bits on some code paths. The fix is to use the 64-bits API variants
constantly throughout the extension.

Added a test that manipulates int64 that are not
representable as int32 to make sure we handle
those correctly.

The extension was using the sqlite3_*_int API, which
would truncate 64-bits int to 32-bits on some code
paths. The fix is to use the 64-bits API variants
constantly throughout the extension.

Added a test that manipulates int64 that are not
representable as int32 to make sure we handle
those correctly.
@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@ricklavoie merged this pull request in c9c52ea.

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

Successfully merging this pull request may close these issues.

None yet

2 participants