Ticket #1901 (closed defect: fixed)
Incorrect error message when corrupt data encountered in ogr odbc layer
| Reported by: | pgerritson | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.3 |
| Component: | OGR_SF | Version: | unspecified |
| Severity: | normal | Keywords: | OGR ODBC |
| Cc: |
Description
In ogrodbclayer.cpp, in OGRODBCLayer::GetNextRawFeature?, when an eErr of OGRERR_CORRUPT_DATA is returned from OGRGeometryFactory::createFromWkt, pszMessage is being set to "Unrecognized error" instead of "Corrupt data". This is due to a missing "break" statement after the "case OGRERR_CORRUPT_DATA:".
Change History
Note: See
TracTickets for help on using
tickets.
