• Barry Warsaw's avatar
    Ported to pybsddb 4.1 (experimental), these changes are actually the · 0d4d91f1
    Barry Warsaw authored
    right thing to do anyway, and should work just find for earlier
    versions of the wrapper.  Specifically,
    
    _dorecovery(), _collect_objs(), _mark(): transactionally protect
    .truncate() and .consume()
    
    _docommit(): Move the setting of the _pending flag to here from
    _finish() so we can transactionally protect it more conveniently.
    This does't change the semantics and the recovery code in _setupDBs()
    doesn't care since the flag will already be set to COMMIT.
    0d4d91f1
BDBFullStorage.py 79.6 KB