[MDEV-5283] MIN/MAX optimizer doesn't take into account type conversions Created: 2013-11-12 Updated: 2015-04-03 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.0.4, 5.5, 10.0 |
| Fix Version/s: | 10.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Sergei Petrunia | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | upstream, verified | ||
| Description |
|
MIN/MAX optimizer doesn't take into account type conversions. This may cause query results to be different depending on whether there is an index. Testcase (not minimal, it may be possible to simplify further):
EXPLAINs:
Filed in the upstream as http://bugs.mysql.com/bug.php?id=70886 |
| Comments |
| Comment by Sergei Petrunia [ 2013-11-12 ] |
|
Setting priority to MINOR as this problem exists for a long time and didn't affect anybody. |