[MDEV-33061] JOIN_TAB::preread_init() should set preread_init_done=TRUE in all cases Created: 2023-12-19 Updated: 2024-01-17 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | None |
| Fix Version/s: | 11.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
monty has pointed out that JOIN_TAB::preread_init does not set preread_init_done=true in all cases. If it doesn't set it, it is called repeatedly for every row combination from previous tables. This MDEV is about checking this and fixing it. |
| Comments |
| Comment by Sergei Petrunia [ 2023-12-19 ] | ||||||||||||||||
|
Trying to find cases where this happens:
and running the main testsuite, I get nothing. |