[MDEV-17563] Different results using table or view when comparing values of time type Created: 2018-10-29 Updated: 2018-11-08 Resolved: 2018-11-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Temporal Types |
| Affects Version/s: | 10.4 |
| Fix Version/s: | 10.4.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alice Sherepa | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Description |
|
10.4, reproducible after commit f6a20205148853f4cd352a21de3b77f2372ad50d
|
| Comments |
| Comment by Alexander Barkov [ 2018-10-31 ] | |||||||||||||||||||||||||||||
The problem is repeatable in all versions starting from 5.5, but for an empty string in x2 (instead of garbage like 'k'):
The first SELECT returns:
The second SELECT returns:
The problem is also repeatable for DATETIME in all versions starting with 5.5, for both empty string and garbage:
The first SELECT returns two rows:
The second SELECT returns empty set. |