• Jim Fulton's avatar
    Bug fixed: · 3c21d591
    Jim Fulton authored
    - The undo implementation was incorrect in ways that could cause
      subtle missbehaviors.
    
    API changes:
    
    - The API for undoing multiple transactions has changed.  To undo
      multiple transactions in a single transaction, pass pass a list of
      transaction identifiers to a database's undo method. Calling a
      database's undo method multiple times in the same transaction now
      raises an exception.
    
    - The storage API (IStorage) has been tightened. Now, storages should
      raise a StorageTransactionError when invalid transactions are passed
      to tpc_begin, tpc_vote, or tpc_finish.
    3c21d591
DB.py 33.2 KB