OGR SQL query fails if a field name contains a dot
|Reported by:||wonder||Owned by:||warmerdam|
Please see the attached shapefile - it has two fields: "id" and "oo.pp_aa"
OGR handles reads the shapefile without any problems, but there is an issue with SQL query.
When I use SQL query, an error is reported about unrecognized field name (note that the field name is not mentioned in the query):
$ ogrinfo -sql "select * from rr2" rr2.shp INFO: Open of `rr2.shp' using driver `ESRI Shapefile' successful. ERROR 1: Unrecognised field name oo.pp_aa.