[fdo-trac] #467: ISelectAggregate crash when feature class name has
spaces in it
FDO
trac_fdo at osgeo.org
Thu Feb 26 04:46:40 EST 2009
#467: ISelectAggregate crash when feature class name has spaces in it
----------------------------+-----------------------------------------------
Reporter: jng | Owner: traianstanev
Type: defect | Status: new
Priority: major | Milestone: 3.4.0
Component: OGR Provider | Version: 3.4.0
Severity: 3 | Keywords:
External_id: |
----------------------------+-----------------------------------------------
When you run a select aggregate command on the OGR provider, it will crash
if the feature class name consists of multiple words.
The attached patch will single-quote the table name part of the SQL string
that gets passed down to the OGRDataSource::ExecuteSQL() function, making
it a valid query for both single and multi-word feature class names.
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/467>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list