Bug #105983 | `SELECT GREATEST(time '20:00:00', 120000) + 0.00` should return 20 | ||
---|---|---|---|
Submitted: | 27 Dec 2021 9:42 | Modified: | 27 Dec 2021 10:00 |
Reporter: | Huaiyu Xu | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S2 (Serious) |
Version: | 8.0.26, 8.0.27, 5.7.36 | OS: | MacOS |
Assigned to: | CPU Architecture: | Any |
[27 Dec 2021 9:42]
Huaiyu Xu
[27 Dec 2021 10:00]
MySQL Verification Team
Hello Huaiyu Xu, Thank you for the report and test case. regards, Umesh
[14 Mar 2023 14:02]
dick Dick
I'm not sure it's a bug or not,but the return type of `GREATEST(time '20:00:00', 120000)` actually is time '20:00:00' and "select time "20:00:00" + 0.00;" equal to "SELECT GREATEST(time '20:00:00', 120000) + 0.00;" .