[MDEV-19714] JOIN::pseudo_bits_cond is not visible in EXPLAIN FORMAT=JSON Created: 2019-06-07 Updated: 2019-06-08 Resolved: 2019-06-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.1, 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.2.25 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Take this testcase from subselect.test:
and run EXPLAIN FORMAT=JSON for the last query:
One can see that the subquery is present but it is not clear where it is attached to? |
| Comments |
| Comment by Sergei Petrunia [ 2019-06-07 ] |
|
outer_ref_cond is printed started from 10.2, so this should be fixed in 10.2+. |
| Comment by Sergei Petrunia [ 2019-06-07 ] |
|
It is not entirely clear to me why it was necessary to have JOIN::pseudo_bits_cond in addition to JOIN::outer_ref_cond. But if the condition is there, it should be printed. |