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

Rescue printing Infinity #4923

Merged
merged 2 commits into from
Apr 22, 2024
Merged

Rescue printing Infinity #4923

merged 2 commits into from
Apr 22, 2024

Conversation

rmosolgo
Copy link
Owner

When clients provide numbers that are too big for Ruby, query execution returns an error. This handles the query printer to print something when that happens -- it used to raise an error.

Technically, the right thing to do would be to raise a parse error.

Part of #4922

@rmosolgo rmosolgo added this to the 2.3.1 milestone Apr 18, 2024
@rmosolgo rmosolgo merged commit 1a155ce into master Apr 22, 2024
12 checks passed
@rmosolgo rmosolgo deleted the print-infinity branch April 22, 2024 13:46
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.

None yet

1 participant