1. 04 Dec, 2002 1 commit
  2. 18 Nov, 2002 1 commit
  3. 13 Nov, 2002 2 commits
  4. 20 Oct, 2002 1 commit
  5. 28 Sep, 2002 1 commit
  6. 11 Sep, 2002 1 commit
    • Jeremy Hylton's avatar
      Make tpc_begin() a read-only method. · 398e9a4c
      Jeremy Hylton authored
      The effect of this change will be to cause transactions to fail
      immediately, rather than the first time they call store() or
      abortVersion() or some other write-method.  Since the Connection now
      treats empty transactions as a special case, this change will not
      change the class of transactions that fail.
      398e9a4c
  7. 09 Sep, 2002 1 commit
  8. 28 Aug, 2002 1 commit
  9. 14 Aug, 2002 1 commit
  10. 11 Feb, 2002 1 commit
  11. 25 Jan, 2002 1 commit
    • Guido van Rossum's avatar
      Commit changes from the short-lived "Recovery" branch to the trunk. · 6c7d0c42
      Guido van Rossum authored
      Highlights:
      
      BaseStorage.py:
      
      Fix copyTransactionsFrom() when commitVersion(), abortVersion() or
      transactionalUndo() is used.
      
      FileStorage.py:
      
      Add restore() method, which can store data records corresponding to
      undo or version manipulations; add close() method to FileIterator
      class; raise POSKeyError instead of KeyError for bad keys, to ensure
      safe formatting of transaction ids (binary strings) in tracebacks.
      
      POSException.py:
      
      Add POSKeyError.
      
      fsdump.py:
      
      Deal with records indicating the undo or abort of a version doing
      object creation.
      
      tests/IteratorStorage.py:
      
      New unittests for the iterator() method and interface of the
      storage API; new unit tests for extended file iterators; new class,
      IteratorDeepCompare; test of the iterator .close() method.
      
      tests/testFileStorage.py:
      
      Add class FileStorageRecoveryTest, which adds two simple tests for
      copyTransactionsFrom().  This indirectly tests the new restore()
      method.
      6c7d0c42
  12. 17 Jan, 2002 1 commit
    • Jeremy Hylton's avatar
      Merge Standby-branch to trunk (mostly). · c2eed46c
      Jeremy Hylton authored
      The Standby-branch was branched from the StandaloneZODB-1_0-branch,
      which includes the BTrees-fsIndex code.  I didn't include that change
      in the merge, but everything else.  Terse summary follows:
      
      BaseStorage.py:
          Add read-only storage feature.
          Add TransactionRecord and DataRecord marker classes for iteration.
          Reformat some lines.
      
      FileStorage.py:
          Add read-only storage feature.
          Greg Ward's ConflictError patch
          Reformat some lines.
          Add lastTransaction(), lastSerialno().
          Add bounds support to iterator().
          Use TransactionRecord and DataRecord.
      
      Connection.py:
      DemoStorage.py:
      MappingStorage.py:
          Greg Ward's ConflictError patch
      
      POSException.py:
          Greg Ward's ConflictError patch
          Add ReadOnlyError.
      c2eed46c
  13. 28 Nov, 2001 1 commit
  14. 24 Oct, 2001 1 commit
  15. 13 Apr, 2001 1 commit
  16. 12 Apr, 2001 1 commit
  17. 03 Apr, 2001 1 commit
    • Barry Warsaw's avatar
      Fixing two small bugs uncovered by unit testing (I was testing the · e354e393
      Barry Warsaw authored
      Minimal BSDDB storage which does not override abortVersion() and
      commitVersion()).
      
      commitVersion() can't be an alias for abortVersion() because it takes
      a different number of arguments.  Provide a simple implementation.
      
      Changed "from POSException import UndoError" to "import POSException"
      and use POSException.UndoError in undo().  This is because
      abortVersion() and commitVersion() also reference exceptions in the
      POSException module.
      
      Aside: fix __version__ extraction from $Revision$ to be portable in
      the face of "cvs co -kv".
      e354e393
  18. 15 Mar, 2001 1 commit
  19. 07 Aug, 2000 1 commit
  20. 01 Jul, 2000 1 commit
    • Jim Fulton's avatar
      Made a number of changes to support moving data between storages · 9c8f4055
      Jim Fulton authored
      (e.g. when moving data between a DCOracleStorage and a FileStorage),
      especially the method copyTransactionsFrom, as in:
      
        import ZODB.FileStorage, DCOracle, DCOracleStorage
      
        # Copy data.fs to oracle
        DCOracleStorage.Full(
          lambda : DCOracle.Connect('user/pw@sid')
          ).copyTransactionsFrom(
            ZODB.FileStorage.FileStorage('Data.fs', read_only=1)
          )
      9c8f4055
  21. 29 Jun, 2000 1 commit
  22. 20 May, 2000 1 commit
  23. 05 May, 2000 1 commit
  24. 23 Nov, 1999 1 commit
  25. 11 Aug, 1999 1 commit
  26. 11 Jul, 1999 2 commits
  27. 08 Jul, 1999 1 commit
  28. 29 Jun, 1999 1 commit
  29. 12 May, 1999 1 commit
  30. 10 May, 1999 1 commit
  31. 07 May, 1999 1 commit
  32. 28 Apr, 1999 1 commit
  33. 11 Nov, 1998 1 commit
  34. 23 Oct, 1998 1 commit
  35. 15 Dec, 1997 1 commit