Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#467 closed defect (fixed)

ISelectAggregate crash when feature class name has spaces in it

Reported by: jng Owned by: traianstanev
Priority: major Milestone: 3.4.0
Component: OGR Provider Version: 3.4.0
Severity: 3 Keywords:
Cc: External ID:

Description

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.

Attachments (1)

ogrprovider.patch (720 bytes ) - added by jng 15 years ago.
ogr provider patch

Download all attachments as: .zip

Change History (3)

by jng, 15 years ago

Attachment: ogrprovider.patch added

ogr provider patch

comment:1 by traianstanev, 15 years ago

Resolution: fixed
Status: newclosed

comment:2 by traianstanev, 15 years ago

Thanks Jackie.

Note: See TracTickets for help on using tickets.