[MDEV-178] LIMIT ROWS EXAMINED: Assertion `0' failed in net_end_statement(THD*) on the 2nd PS execution, with DISTINCT, FROM subquery or view in SELECT, JOIN in nested subquery Created: 2012-03-11 Updated: 2012-03-11 Resolved: 2012-03-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.5.21 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Timour Katchaounov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
bzr version-info
Minimal optimizer_switch:
Full optimizer_switch (default):
EXPLAIN for the SELECT:
Test case:
|
| Comments |
| Comment by Timour Katchaounov (Inactive) [ 2012-03-11 ] |
|
The same problem as mdev-174. The fix is to generalize the solution of mdev-174, so that it tests that limit rows is enabled for the outermost select, and not just test that there is no unit->item. |