Bug #105773 | Bad caching of converted constants in NULL-safe comparison | ||
---|---|---|---|
Submitted: | 2 Dec 2021 12:45 | Modified: | 21 Dec 2021 22:13 |
Reporter: | Vicent Marti (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S2 (Serious) |
Version: | 8.0.27 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | regression |
[2 Dec 2021 12:45]
Vicent Marti
[2 Dec 2021 13:02]
MySQL Verification Team
Hello Vicent Marti, Thank you for the report and feedback. regards, Umesh
[21 Dec 2021 22:13]
Christine Cole
Posted by developer: Fixed as of the upcoming MySQL 8.0.29 release, and here's the proposed changelog entry from the documentation team: A NULL-safe comparison between 0 (FALSE) and NULL could return TRUE, even though the implementation responsible for evaluating an object of this type can never result in NULL and should always return FALSE. Thank you for the bug report.
[2 Mar 2022 11:27]
Erlend Dahl
Bug#106611 Nested Null-Safe Equal gives wrong result was marked as a duplicate.