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

fix(MCOL-5889): Improper handle of DOUBLE result type with DECIMAL ar… #3402

Open
wants to merge 1 commit into
base: develop-23.02
Choose a base branch
from

Conversation

mariadb-SergeyZefirov
Copy link
Contributor

…guments

Sometimes server assigns DOUBLE type for arithmetic operations over DECIMAL arguments. In this rare case width of result was incorrectly adjusted and it triggered an assertion.

Now width of result gets adjusted only if result type is also DECIMAL.

…guments

Sometimes server assigns DOUBLE type for arithmetic operations over
DECIMAL arguments. In this rare case width of result was incorrectly
adjusted and it triggered an assertion.

Now width of result gets adjusted only if result type is also DECIMAL.
@mariadb-SergeyZefirov mariadb-SergeyZefirov force-pushed the MCOL-5889-invalid-integer-column-width-develop-23.02 branch from c34d65e to 76eb783 Compare February 14, 2025 14:08
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.

2 participants