Bug #116741 | Innodb tmp table causes incorrect query results | ||
---|---|---|---|
Submitted: | 21 Nov 2024 6:58 | Modified: | 22 Nov 2024 1:05 |
Reporter: | Jingqi Tian (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S2 (Serious) |
Version: | 8.0, 8.0.40, 8.4.3 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[21 Nov 2024 6:58]
Jingqi Tian
[21 Nov 2024 7:53]
MySQL Verification Team
Hello Jingqi Tian, Thank you for the report and test case. regards, Umesh
[22 Nov 2024 1:04]
Jingqi Tian
Fix CONST access type can‘t read data from disk temporary table (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: bug#116741.patch (application/octet-stream, text), 3.11 KiB.
[22 Nov 2024 1:05]
Jingqi Tian
The cause of this bug is that after converting the In-memory temporary table to a disk temporary table, the TABLE is not set to not started, which causes CONST access error.