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

sea-query-binder: Don't panic on big unsigned, convert to i64 #371

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

nitnelave
Copy link
Contributor

PR Info

Fixes

Any big unsigned values (u64 that doesn't fit in i64) will no longer panic but instead will wrap as i64. They can then be read back as u64 to recover the initial value.

Ran into this when storing hashes in SQlite.

Copy link
Member

@ikrivosheev ikrivosheev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nitnelave thank you! LGTM!

@tyt2y3 tyt2y3 merged commit f0945bf into SeaQL:0.25.x Jul 1, 2022
@nitnelave
Copy link
Contributor Author

Sorry, this broke the build. Fix is in #372.

@nitnelave nitnelave deleted the binder_unwrap branch July 1, 2022 13:11
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.

3 participants