Bug #110406 | Storing rows with null in join key in hash table for outer join is useless | ||
---|---|---|---|
Submitted: | 17 Mar 2023 4:58 | Modified: | 20 Mar 2023 13:31 |
Reporter: | Wen He (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | hash join; outer join |
[17 Mar 2023 4:58]
Wen He
[17 Mar 2023 13:01]
MySQL Verification Team
Hi Mr. He, Thank you for the bug report. However, we fail to see what you are reporting. If our code is incorrect, then there would be an OUTER JOIN test case where results would be wrong. All that we can conclude from your report is that there is a one, single function parameter that is not required. That is superfluous ...... That does not constitute a bug ..... Please, let us know whether we misunderstood your report.
[20 Mar 2023 10:09]
Knut Anders Hatlen
I think this is a valid bug report, as it leads to some extra work during building of the hash table, and also some extra buffer usage. (The fix for bug#109211 removes this code, so this issue will probably be gone in MySQL 8.0.33.)
[20 Mar 2023 13:31]
MySQL Verification Team
Hi Mr. He, We have already committed a patch for a very similar bug. However, we shall verify this bug, only in order to be sure that the new patch covers your case as well. Thank you .... This report is now a verified bug.