> 
> Ok makes sense. Though as far as QGIS goes, is there a case where a
> subset query can result in duplicates?

Could happen. The code currently handles the possibility where subsetString() 
is 
called with a completely custom SELECT statement, so potentially doing crazy 
things.
> 
> Something like this [1] seems to fix the issue, don't know if it's the
> best way forward though?

I've left a few comments in the commit

Even


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to