[MDEV-32281] EXAMINED_ROWS is not populated in information_schema.processlist upon SELECT Created: 2023-09-28 Updated: 2023-12-15 |
|
| Status: | Stalled |
| Project: | MariaDB Server |
| Component/s: | Information Schema |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.10, 10.11, 11.0, 11.1 |
| Fix Version/s: | 10.4, 10.5, 10.6, 10.11, 11.0, 11.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Michael Widenius |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
The test case is not suitable for the regression suite, don't push it as is, create a deterministic one instead!
Reproducible on all existing versions. |
| Comments |
| Comment by Elena Stepanova [ 2023-09-28 ] |
|
DELETE shows EXAMINED_ROWS. |
| Comment by Michael Widenius [ 2023-10-21 ] |
|
The reason for 'examined_rows' not getting updated is that we update the number not on each row read but at end of query. (this is for efficiency) Fixing this is a possible, but is a notable patch as all current accounting has to be changed |
| Comment by Michael Widenius [ 2023-10-22 ] |
|
Fixed by keeping THD always up to date with examined_rows and sent_rows. |