fix: truncate decimal integer division - #24705
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Merge Queue Status
This pull request spent 2 hours 15 minutes 15 seconds in the queue, with no time running CI. Waiting for
All conditions
ReasonThe merge conditions cannot be satisfied due to failing checks HintYou may have to fix your CI before adding the pull request to the queue again. |
Merge Queue Status
This pull request spent 1 minute 16 seconds in the queue, including 16 seconds running CI. Required conditions to merge
|
What type of PR is this?
Which issue(s) does this PR fix or relate to?
Fixes #24108
What this PR does / why we need it:
Summary
Tests
select 10 DIV 3, CAST('05' AS UNSIGNED) DIV 3, FLOOR((CAST('12' AS UNSIGNED) + 2) DIV 3)=>3, 1, 4