| Bug #120854 | Wrong result with COALESCE(YEAR, 0), arithmetic and window function in VIEW/CTE | ||
|---|---|---|---|
| Submitted: | 3 Jul 5:49 | Modified: | 6 Jul 15:23 |
| Reporter: | Xiaoyuan Xie | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Optimizer | Severity: | S2 (Serious) |
| Version: | 9.6.0,9.7.0 | OS: | Ubuntu |
| Assigned to: | CPU Architecture: | Any | |
[3 Jul 5:49]
Xiaoyuan Xie
[3 Jul 10:15]
Chaithra Marsur Gopala Reddy
Hi Xiaoyuan Xie, Thank you for the test case. Verified as described.
[6 Jul 15:23]
Xiaoyuan Xie
Hi Chaithra, Thank you very much for reviewing the test case and verifying the report. I really appreciate your prompt response and confirmation. It is encouraging to see the issue acknowledged, and it motivates us to continue testing and providing useful feedback to help improve the correctness and reliability of MySQL. We will also be more careful to check for existing or related reports before submitting new issues, so that we can avoid duplicate bug reports as much as possible and make our reports more helpful to the project. Thanks again for your time and support.
