[MDEV-16373] Wrong results for a query with two NAME_CONST() Created: 2018-06-01 Updated: 2022-12-07 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Data types, Optimizer |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10 |
| Fix Version/s: | 10.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Epic Link: | Data type cleanups |
| Description |
|
This script:
returns a correct result:
Now I change the name in the second NAME_CONST() from 'x' to 'y', the script returns a wrong result:
|