Bug #81995 col(const) IN (-1.49) returns true in WHERE condition with index on col
| Submitted: | 24 Jun 2016 6:51 | Modified: | 24 Dec 2019 13:39 |
|---|---|---|---|
| Reporter: | Su Dylan | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: DML | Severity: | S2 (Serious) |
| Version: | 5.7.8, 5.6.31, 5.7.13 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | regression | ||
[24 Jun 2016 6:51]
Su Dylan
[24 Jun 2016 8:15]
MySQL Verification Team
Hello Su Dylan, Thank you for the report and test case. Observed that 5.6.31/5.7.13 are affected. Thanks, Umesh
[27 Jun 2016 9:13]
Shane Bester
seems a bit similar to: https://bugs.mysql.com/bug.php?id=45680 (wrong results when using index for lookup with implicitly casted values)
[24 Dec 2019 13:39]
Roy Lyseng
Posted by developer: Fixed in 8.0.18
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.047 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.