4 Commits

Author SHA1 Message Date
Nyall Dawson
89b9b67974 Handle type conversion failures for compiled expressions 2015-12-10 20:49:17 +11:00
Nyall Dawson
26f7683cf5 OGR expression compiler fixes
- Allow simple operators as supported by OGR (+, -, * )
- Only return a partial compilation success if expression contains
"column"="column2". Since OGR SQL performs case insensitive
comparisons, we need to double check the result using QGIS'
expressions to ensure that case matches. Add unit tests for this
to provider tests.
2015-11-18 06:30:42 +11:00
Nyall Dawson
f9917b55c3 Remove expected failure from shapefile provider unique values test
Failure was caused by GDAL bug #6020, which has now been fixed
in GDAL. It turns out the values are only incorrect if the first
feature in the file has a null value, so I've rearranged the
features in the reference shapefile to avoid this.
2015-07-12 19:55:54 +10:00
Matthias Kuhn
afc3996f6c Add shapefile provider tests
+ Fix OGR provider so it does not return features without geometry when
filtering with a FilterRect
2015-05-22 21:03:47 +02:00