OGR Provider: Data reader returns incorrect property names
|Reported by:||jng||Owned by:||jng|
Description (last modified by )
If you do a select aggregates with an expression (eg:
COUNT(FID) when looping through the properties of the returned data reader, it does not return the expression alias you specified as the property name. Instead, an OGR-computed property name is returned. This breaks the expected flow of an FDO client application consuming a data reader result for a select aggregate operation.
This problem manifests itself in the MapGuide feature source preview where previewing the data shows total entries as -1 due to this issue