[MDEV-8860] Wrong result for WHERE 2016 < SOME (SELECT CAST(time_column AS DATETIME) FROM t1) Created: 2015-09-28 Updated: 2015-09-30 Resolved: 2015-09-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Subquery, Temporal Types |
| Affects Version/s: | 10.0, 10.1 |
| Fix Version/s: | 10.1.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | upstream | ||
| Sprint: | 10.1.8-4 |
| Description |
|
returns two rows with no warnings:
Now let's check which of the rows in SOME actually generated true condition:
Opps. It returns empty set with a warning:
The result of the query with SOME is obviously wrong. It should have returned empty set with warnings. |
| Comments |
| Comment by Alexander Barkov [ 2015-09-30 ] |
|
Also repeatable in MySQL-5.7.8 |