[MDEV-5443] Consistent use of the HA_EXTRA_KEYREAD mode (covering index scan) Created: 2013-12-13 Updated: 2015-10-30 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | Timour Katchaounov (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | optimizer | ||
| Description |
|
This task is inspired by It makes sense to make the query engine be more strict with respect to what it asks from the storage engine (SE). Currently the query engine assumes that the SE would ignore the keyread mode when a table scan is opened. Currently the query engine uses two separate booleans to specify what kind of access to do with respect to index scans:
A proposal from Serg is to:
|
| Comments |
| Comment by Timour Katchaounov (Inactive) [ 2013-12-13 ] |
|
Two questions re the above idea:
|
| Comment by Timour Katchaounov (Inactive) [ 2013-12-13 ] |
|
An alternative solution to the one with enums above is to keep the two booleans. <serg> in which case there's no need to do an enum at all, and the fix could be as simple as moving |