Skip to content

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

Merged
pcisar merged 1 commit into
FirebirdSQL:masterfrom
Fred-si:fix-pre-1858-11-17-date-encoding
Feb 28, 2024
Merged

Fix for #34 - Pre-1970 dates causes OverflowError#37
pcisar merged 1 commit into
FirebirdSQL:masterfrom
Fred-si:fix-pre-1858-11-17-date-encoding

Conversation

@Fred-si
Copy link
Copy Markdown
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
Copy Markdown
Contributor

pcisar commented Feb 28, 2024

Good work, thanks for your contribution.

@fdcastel
Copy link
Copy Markdown
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