[MDEV-8926] Date type column of CONNECT CSV table type fails to return result on equal matches Created: 2015-10-09 Updated: 2015-10-18 Resolved: 2015-10-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Connect |
| Affects Version/s: | 10.0.15, 10.0.17, 10.0.21 |
| Fix Version/s: | 10.0.22, 10.1.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Tuco | Assignee: | Olivier Bertrand |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | CONNECT | ||
| Environment: |
Windows Server 2008 R2; Windows 7 |
||
| Description |
|
CONNECT's CSV table type does not return matching result for `date` type on an equal match. It does return the matching results on greater-than matches, but not on less-than matches.
|
| Comments |
| Comment by Olivier Bertrand [ 2015-10-18 ] | ||
|
This is not specific to the CSV CONNECT table type. It is caused by a bug in the condition pushdown feature (called with the constant type as string instead of date value) that is partially fixed in MariaDB 10.1.8 (but only for equality).
you can say:
This will work with any comparison operators. |