Bug #92524 | Left join with datetime join condition produces wrong results | ||
---|---|---|---|
Submitted: | 21 Sep 2018 7:54 | Modified: | 20 Jul 2020 9:48 |
Reporter: | Wei Zhao (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | 5.6.41, 5.5.61,5.7.17 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | Contribution |
[21 Sep 2018 7:54]
Wei Zhao
[21 Sep 2018 7:54]
Wei Zhao
this patch fixes the bug (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: left-join-date-time.diff (application/octet-stream, text), 1.94 KiB.
[21 Sep 2018 8:36]
MySQL Verification Team
Hello Wei Zhao, Thank you for the report and contribution. regards, Umesh
[15 Oct 2018 10:15]
Wei Zhao
The bug also happens on 5.7.17, i.e. the version I'm using.
[9 Mar 2020 11:59]
Frederic Descamps
Thank you for your patch however this is a duplicate of an internal bug which was fixed in MySQL 5.7.22 Cheers,
[20 Jul 2020 9:48]
Erlend Dahl
Fixed in 5.7.22, 8.0.5 under the heading of Bug#25949639 DATE FORMAT 'YYYYMMDD' ISN'T RECOGNIZED IN LEFT JOIN