Ticket #1901 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

Changed 4 years ago by rouault

  • keywords OGR ODBC added
  • 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

Note: See TracTickets for help on using tickets.