Skip to content

Fix for #34 - Pre-1970 dates causes OverflowError #37

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

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

Fred-si
Copy link
Contributor

@Fred-si Fred-si commented Feb 27, 2024

Hi.

This merge request should fix #34 issue.

With the fix, I have added an assertion to validate the behavior of data insertion, but I was unable to run the tests because I haven't a working Firebird server on my computer.

I have tested the fix with a Python project that uses SQLAlchemy, it works in this context and the test suite has not found any regression.

@pcisar pcisar merged commit ce730e9 into FirebirdSQL:master Feb 28, 2024
@pcisar
Copy link
Contributor

pcisar commented Feb 28, 2024

Good work, thanks for your contribution.

@fdcastel
Copy link
Member

fdcastel commented Apr 4, 2024

@pcisar Can we get a release with this fix?

@Fred-si Fred-si deleted the fix-pre-1858-11-17-date-encoding branch September 20, 2024 06:28
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.

Pre-1970 dates causes OverflowError ("can't convert negative int to unsigned")
3 participants