[MDEV-7245] Incorrect display of subquery cache in union.result Created: 2014-12-01 Updated: 2014-12-02 Resolved: 2014-12-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.1 |
| Fix Version/s: | 10.1.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Looking at union.result in 10.1 code, one can see:
...
Note this:
The subquery is actually dependent, and it is incorrect that we see "<expr_cache><>" and not "<expr_cache><a>". |
| Comments |
| Comment by Sergei Petrunia [ 2014-12-01 ] | ||||||||||||||
|
Investigated together with sanja.
fake_select_lex objects have invalid data in nest_level and nest_level_base. These members are never set. |