Bug #115559 | Row constructor comparison with nested join fails to match rows | ||
---|---|---|---|
Submitted: | 10 Jul 2024 13:59 | Modified: | 11 Jul 2024 10:45 |
Reporter: | Timothy Liang | 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: | left join, nested join, row constructor |
[10 Jul 2024 13:59]
Timothy Liang
[10 Jul 2024 14:30]
MySQL Verification Team
Hi Mr. Liang, Thank you for your bug report. However , this is not a bug ..... You have a row condition: ON (t2.id, u2.id) > (t1.id, u1.id but, since t1 is identical with t2 and u1 is identical with u2, how can one be greater then the other. t1, t2, u1, u2 are just aliases of the real tables ....... so you can not have any inequality expression returning TRUE. Not a bug.
[11 Jul 2024 10:45]
MySQL Verification Team
Hi MR. Liang, After further examination, due to the inequality expression, we decided that this is a bug. It affects version 8.0 and all higher versions. Verified as reported.