Skip to content

Fix tiny int handling#252

Merged
knutwalker merged 3 commits into
neo4j-labs:mainfrom
thelonelyvulpes:fix-tiny-int-handling
Aug 12, 2025
Merged

Fix tiny int handling#252
knutwalker merged 3 commits into
neo4j-labs:mainfrom
thelonelyvulpes:fix-tiny-int-handling

Conversation

@thelonelyvulpes

@thelonelyvulpes thelonelyvulpes commented Jul 25, 2025

Copy link
Copy Markdown
Contributor

fixes #164 by casting the small i8s to i8 before casting to i64 to avoid the sign being ignored.
coauthor: @robsdedude

@madchicken madchicken left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The modification makes sense and seems to solve the issue

@madchicken madchicken requested a review from knutwalker August 3, 2025 10:02

@knutwalker knutwalker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Very good, thanks for the PR!

@knutwalker knutwalker merged commit 15ddd40 into neo4j-labs:main Aug 12, 2025
11 checks passed
@thelonelyvulpes thelonelyvulpes deleted the fix-tiny-int-handling branch August 15, 2025 14:05
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.

Bolt integer coming back wrong?

3 participants