[MDEV-4220] extended_keys=on makes eq_ref access be ref access Created: 2013-03-01 Updated: 2013-03-04 Resolved: 2013-03-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.29 |
| Fix Version/s: | 10.0.2, 5.5.30 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
If one turns on extended keys, the optimizer starts use ref access where it used to use eq_ref access. eq_ref is somewhat slower than 'equivalent' ref access, but that is only part of the problem. ORDER BY optimization checks if eq_ref is used, and if yes, enables certain strategies (see sql_select.cc, eq_ref_table()). Testcase:
its output:
|
| Comments |
| Comment by Igor Babaev [ 2013-03-04 ] |
|
This is a regression bug introduced by the patch for mdev-3851 that appeared in mariadb 5.5.28.a. |
| Comment by Igor Babaev [ 2013-03-04 ] |
|
The fix for the bug was pushed into the 5.5 tree on 2013-03-03. It will appear in 5.5.30. |