[MDEV-4778] Incorrect results from Aria/MyISAM SELECT using index with prefix length on TEXT column Created: 2013-07-11 Updated: 2013-07-16 Resolved: 2013-07-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.3, 5.5.31, 5.3.12 |
| Fix Version/s: | 10.0.5, 5.5.32 |
| Type: | Bug | Priority: | Major |
| Reporter: | James Peacock | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | optimizer | ||
| Environment: |
Linux dev1 3.7.8-gentoo #3 SMP Tue Feb 26 19:11:07 UTC 2013 x86_64 AMD Opteron(tm) Processor 6174 AuthenticAMD GNU/Linux gcc-4.7.2 Built from release tarballs using gcc-4.7.2 |
||
| Description |
|
The second SELECT in the following example does not return all matching rows. Incorrect results are returned whenever idx1 is used, with or without FORCE/IGNORE INDEX. The bug appears to manifest with the MyISAM or Aria engines, but not XtraDB The bug does not manifest if:
|
| Comments |
| Comment by Elena Stepanova [ 2013-07-11 ] |
|
Minimal optimizer_switch: index_condition_pushdown=on EXPLAIN with the minimal optimizer_switch: id 1 |
| Comment by Sergei Petrunia [ 2013-07-16 ] |
|
Pushed the fix |