id summary reporter owner description type status priority milestone component version severity resolution keywords cc 5507 """less than""/""greater than"" on date for Shapefiles cause error" anitagraser warmerdam "To reproduce this issue, you can use the following testdata: http://ge.tt/6DBclJh/v/0 With OGR 1.10.1 this works: ogrinfo test2.shp -sql 'SELECT COUNT(*) FROM test2 WHERE DATE < ""1970-01-01""' With OGR 1.11.0, I get the error ""OGR[3] error 1: Type mismatch or improper type of arguments to < operator."" (Related to QGIS issue http://hub.qgis.org/issues/10165)" defect closed normal OGR_SF 1.11.0 normal invalid ogr sql date