517518519520521522523524525526527
} finally { if (cursor != null) { cursor.close(); } if (locker != null) { locker.operationEnd(commitStatus); } } } /**
621622623624625626627628629630631
if (cursor != null) { cursor.close(); } if (locker != null) { locker.operationEnd(commitStatus); } } } /**
721722723724725726727728729730731
160161162163164165166167168169170
if (useConfig.getAllowCreate()) { if (!isWritableLocker) { if (cursor != null) { cursor.close(); } locker.operationEnd(OperationStatus.SUCCESS); locker = LockerFactory.getWritableLocker (db.getEnvironment(), txn, db.getDatabaseImpl().isInternalDb(),
203204205206207208209210211212213
} finally { if (cursor != null) { cursor.close(); } if (locker != null) { locker.operationEnd(status); } } /* * cacheLast is initialized such that the cache will be considered
401402403404405406407408409410411
} finally { if (cursor != null) { cursor.close(); } if (locker != null) { locker.operationEnd(status); } } /* The cache now contains the range: [cacheValue, storedValue) */ cacheValue = storedValue - adjust;
549550551552553554555556557558559
if (nameCursor != null) { nameCursor.close(); } if (idDbLocker != null) { idDbLocker.operationEnd(operationOk); } /* * Undo the allocation of the database ID if DB creation fails. We * use compareAndSet so that we don't undo the assignment of the ID
if (cursor != null) { cursor.releaseBIN(); cursor.close(); } if (idDbLocker != null) { idDbLocker.operationEnd(operationOk); } } } } }
11861187118811891190119111921193119411951196
if (idCursor != null) { idCursor.close(); } if (idDbLocker != null) { idDbLocker.operationEnd(operationOk); } } result.nameLN.setId(newDb.getId()); /* If required, count the number of records in the database. */
13241325132613271328132913301331133213331334
/* searchAndPosition leaves BIN latched. */ idCursor.releaseBIN(); idCursor.close(); } if (idDbLocker != null) { idDbLocker.operationEnd(operationOk); } } } }