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

Arithmetic overflow or division by zero has occurred. in MAX function [CORE1859] #2289

Closed
firebird-automations opened this issue Apr 23, 2008 · 10 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: chedek (chedek2)

Attachments:
chedeksoft.zip

When I use database in ODS 11.1 with several procedures with parameters and I try to run such SQL:

select p.rdb$parameter_name,max(p.rdb$procedure_name)
from rdb$procedure_parameters p
group by 1

Server reports:
Arithmetic overflow or division by zero has occurred.
arithmetic exception, numeric overflow, or string truncation.

It's very strange because p.rdb$procedure_name is only 31 chars long.
I mean that is a problem in unicode charsers....

Commits: 1eef61d 5bacc88

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Could you please provide a metadata-only backup for your database, so that we could reproduce the issue?

@firebird-automations
Copy link
Collaborator Author

Commented by: chedek (chedek2)

I sent you metadata backup

@firebird-automations
Copy link
Collaborator Author

Commented by: chedek (chedek2)

metadata backup

@firebird-automations
Copy link
Collaborator Author

Modified by: chedek (chedek2)

Attachment: chedeksoft.zip [ 10850 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

Version: 2.5 Initial [ 10260 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5 Alpha 1 [ 10224 ]

Fix Version: 2.1.1 [ 10223 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Done successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment