[MDEV-6986] Bad results with join comparing INT and VARCHAR columns Created: 2014-10-30 Updated: 2020-10-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.14 |
| Fix Version/s: | 10.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
returns two rows:
INT and VARCHAR column are compared as double. If I add a primary key on t2 and re-run the query:
it returns only one row:
This is wrong. It should return the same row set with and without the primary key. |
| Comments |
| Comment by Alexander Barkov [ 2014-11-19 ] |
|
Sergei commented on the email list:
|
| Comment by Ralf Gebhardt [ 2020-10-27 ] |
|
Tried it with 10.5.6, which returns with error |