[MDEV-8698] Wrong result for SELECT..WHERE a BETWEEN 'a' AND 'c' COLLATE latin1_bin; Created: 2015-08-29 Updated: 2015-09-11 Resolved: 2015-08-29 |
|
| 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: | upstream | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
This script:
returns 3 rows:
So far so good.
it returns 2 rows:
The above result is incorrect. It should return only one row, with 'a' (lower case). |