Ticket #4420 (closed defect: fixed)
FGdbLayer doesn't use SetWriteLock() and FreeWriteLock()
| Reported by: | borisdogadov | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.9.2 |
| Component: | OGR_SF | Version: | unspecified |
| Severity: | normal | Keywords: | FileGDB |
| Cc: | pramsey, kyle |
Description
This code is present in FGdbLayer::CommitTransaction?() and FGdbLayer::StartTransaction?(), but both those functions are commented out.
There is a bug when writing more then 1000 features (with point geometry) sometimes OGR.Layer.CreateFeature? throws an exception "Workspace or data source is read only.(-2147220893)"... This behavior is easily reproduced in ESRI FileGDB_API_VS2008_1_1, and is solved by calling SetWriteLock?() and FreeWriteLock?().
So any reason this code it commented out?
Change History
Note: See
TracTickets for help on using
tickets.
