Bug #107337 | IN() does not work correctly for TIME column | ||
---|---|---|---|
Submitted: | 19 May 2022 6:08 | Modified: | 19 May 2022 7:06 |
Reporter: | Xie Tanner | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | 8.0.27, 5.7, 8.0.29, 8.0.32 | OS: | Linux |
Assigned to: | CPU Architecture: | ARM |
[19 May 2022 6:08]
Xie Tanner
[19 May 2022 7:06]
MySQL Verification Team
Hello Xie Tanner, Thank you for the report and test case. Verified as described with 8.0.29 build. regards, Umesh
[19 May 2022 7:08]
MySQL Verification Team
Bug #107338 marked as duplicate of this one
[23 May 2022 8:40]
Dag Wanvik
Posted by developer: A workaround is to use a time literal instead of a string: mysql> select * from t where a in (TIME'08:00:00', null); +----------+ | a | +----------+ | 08:00:00 | +----------+
[23 May 2022 13:32]
Dag Wanvik
Posted by developer: Please disregard the patch. This issue will be fixed in WL#14109.