Bug #114995 | by using 'with ....as ...inner join ...' bug | ||
---|---|---|---|
Submitted: | 14 May 2024 10:00 | Modified: | 14 May 2024 12:46 |
Reporter: | haotian yan | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 8.0.28 && 8.0.30 | OS: | CentOS (7.9) |
Assigned to: | CPU Architecture: | x86 (3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux) |
[14 May 2024 10:00]
haotian yan
[14 May 2024 10:55]
MySQL Verification Team
Hi Mr. yan, You can upload your test case if you click on the "Files" tab. We are waiting on your feedback. Do note that current release of 8.0 is 8.0.37, so if we can not repeat your report with 8.0.37, then it will not be a bug. Hence, we recommend you to first test your test case with 8.0.37.
[14 May 2024 12:10]
MySQL Verification Team
Hi Mr. yan, We have got expected results with our 8.0.37 binary. Both queries returned the same rows. You will find our results in the "FIles" tab, under the name of results.txt. There is a difference in the order of the columns presented, which is caused by a difference in the JOIN order. That is expected behaviour. Can't repeat.
[14 May 2024 12:11]
MySQL Verification Team
results from the both queries
Attachment: results.txt (text/plain), 20.49 KiB.
[14 May 2024 12:22]
haotian yan
I'm very sorry, but I really can't find the test result file you provided.
[14 May 2024 12:33]
MySQL Verification Team
Hi, Try "Files" tab now .......
[14 May 2024 12:46]
haotian yan
I have installed mysql version 8.0.37 and I found that I get the same result for two SQL statements, but I get different result as I said in mysql V8.0.28 or V8.0.30 version, so I would like to know if there is some optimisation in mysql V8.0.28 or V8.0.30.Finally thanks a lot for your patience!
[14 May 2024 12:53]
MySQL Verification Team
Hi, No, there is not due to any optimisation in the earlier releases. This is just a bug that is already fixed.