[MDEV-659] LP:807198 - Rows_examined can be reset for sub queries Created: 2011-07-07 Updated: 2013-05-01 Resolved: 2013-05-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.1.67, 5.2.14 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Eric Bergen | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
Rows_examined in the slow query log can be reset by the outer query when using a sub query. For these two queries the first one sets Rows_examined correctly but the second one has it reset even though the row stats work correctly.
The table I'm using looks like:
|
| Comments |
| Comment by Rasmus Johansson (Inactive) [ 2011-07-07 ] |
|
Launchpad bug id: 807198 |
| Comment by Elena Stepanova [ 2013-05-01 ] |
|
Reproducible on MariaDB 5.1 and 5.2, but not on 5.3: MariaDB Version 5.2.14 CREATE TABLE `t2` ( MariaDB Version 5.3.12 CREATE TABLE `t2` ( |
| Comment by Elena Stepanova [ 2013-05-01 ] |
|
Fixed in 5.3 and further, I suppose it's good enough, not critical to fix it in 5.1 and 5.2. |