| Bug #120540 | A negated `IS TRUE` guard can still match a DECIMAL row for which the guarded predicate is true | ||
|---|---|---|---|
| Submitted: | 25 May 1:44 | Modified: | 13 Aug 17:21 |
| Reporter: | y x | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Optimizer | Severity: | S2 (Serious) |
| Version: | 9.7.0 | OS: | Ubuntu |
| Assigned to: | CPU Architecture: | x86 | |
[25 May 1:44]
y x
[27 May 5:41]
Chaithra Marsur Gopala Reddy
Hi y x, Thank you for the test case. Verified as described.
[29 May 5:20]
MySQL Admin
Posted by developer: Bug status updated to 'Patch pending'
[1 Jun 20:48]
MySQL Admin
Posted by developer: Bug status updated to 'Patch approved'
[2 Jun 14:48]
MySQL Admin
Posted by developer: Bug status updated to 'Documenting'
[13 Aug 17:21]
Edward Gilmore
Posted by developer:
Added the following note to the MySQL Server 9.7.2 and 26.7.0 release notes:
A negated IS TRUE condition involving a BETWEEN predicate could
return incorrect results for DECIMAL values because NULL-state
handling was not initialized correctly.
