[MDEV-8723] Wrong result for SELECT..WHERE COLLATION(a)='binary' AND a='a' Created: 2015-09-01 Updated: 2015-09-12 Resolved: 2015-09-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 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: | propagation, upstream-not-supported | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
In this script:
the two SELECT queries return one row. Now if I join both conditions using AND in the same query:
It returns empty set. A similar script:
A similar script:
A similar script:
|
| Comments |
| Comment by Alexander Barkov [ 2015-09-12 ] | ||||||||||||
|
After the fix
returns
MySQL-5.7.8 does not support propagation in the same query:
|