Ticket #1901 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

Incorrect error message when corrupt data encountered in ogr odbc layer

Reported by: pgerritson Assigned to: 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

10/11/07 18:30:58 changed by rouault

  • keywords set to OGR ODBC.
  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to 1.4.3.

Fixed in trunk in r12372 and in branches/1.4 in r12373