[MDEV-324] SHOW EXPLAIN: Plan produced by SHOW EXPLAIN for a query with TEMPTABLE view loses 'DERIVED' line on the way without saying that the plan was already deleted Created: 2012-06-07 Updated: 2012-06-07 Resolved: 2012-06-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 10.0.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
For the following query, and many others
standard EXPLAIN with the default optimizer_switch produces the following plan:
SHOW EXPLAIN sometimes returns the same briefly at the beginning, but quickly loses the 'DERIVED' line:
DERIVED line might be at the end of the output or in the middle, it happens anyway. Reproducible with MyISAM, Aria, InnoDB. bzr version-info
Test case:
|