Bug #103609 | select #2 will be displayed twice when we explain the sql | ||
---|---|---|---|
Submitted: | 6 May 2021 12:16 | Modified: | 3 Jan 2024 7:58 |
Reporter: | miao ma | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | 8.0, 8.0.24 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[6 May 2021 12:16]
miao ma
[6 May 2021 12:40]
MySQL Verification Team
Hello miao ma, Thank you for the report and test case. Observed that 8.0.24 release build is affected. regards, Umesh
[6 May 2021 12:40]
MySQL Verification Team
Please note that in order to sumit contributions you must first sign the Oracle Contribution Agreement (OCA). For additional information please check http://www.oracle.com/technetwork/community/oca-486395.html If you have any questions, please contact the MySQL community team (mailto:mysql-community_ww@oracle.com) or by visiting https://dev.mysql.com/community/
[3 Jan 2024 7:58]
Jon Stephens
Documented fix as follows in the MySQL 8.3.0 changelog: If the argument to a window function contained a subquery, the access path of that subquery was printed twice by EXPLAIN FORMAT=TREE. We fix this by ensuring that we ignore duplicate paths in such cases. Closed.