Bug #116780 | cluster primary index should mark HA_MRR_INDEX_ONLY, but it not. | ||
---|---|---|---|
Submitted: | 26 Nov 2024 8:43 | Modified: | 26 Nov 2024 11:34 |
Reporter: | jump mason | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | 8.0.36 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[26 Nov 2024 8:43]
jump mason
[26 Nov 2024 11:34]
MySQL Verification Team
Hi Mr. mason, Thank you for your bug report. However, we do not think that this is a bug. Since in InnoDB the primary index is always clustered, that means that reading by that index would be almost as expensive as scanning of all rows. That is why the original code is correct. Not a bug.