[MDEV-8613] Full table scan for WHERE indexed_varchar_column <=> 'bad-character' Created: 2015-08-13 Updated: 2015-08-14 Resolved: 2015-08-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 5.5, 10.0, 10.1 |
| Fix Version/s: | 10.1.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
The patch for
correct;y return "Impossible WHERE":
However, if I use <=> instead of =, it still switches to full table scan. It should be fixed to return "Impossible WHERE" for <=>. |