Opened 17 years ago
Closed 17 years ago
#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 (1)
comment:1 by , 17 years ago
Keywords: | OGR ODBC added |
---|---|
Milestone: | → 1.4.3 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in trunk in r12372 and in branches/1.4 in r12373