1. 23 Apr, 2010 6 commits
  2. 22 Apr, 2010 8 commits
  3. 19 Apr, 2010 3 commits
  4. 15 Apr, 2010 1 commit
  5. 07 Apr, 2010 1 commit
  6. 01 Apr, 2010 10 commits
  7. 31 Mar, 2010 1 commit
  8. 30 Mar, 2010 7 commits
  9. 26 Mar, 2010 3 commits
    • Vincent Pelletier's avatar
      Disable broken ZODB undo test, and explain what is broken. · 90b46901
      Vincent Pelletier authored
      git-svn-id: https://svn.erp5.org/repos/neo/trunk@1979 71dcc9de-d417-0410-9af5-da40c76e7ee4
      90b46901
    • Vincent Pelletier's avatar
      Use value_serial for undo support. · 83c02447
      Vincent Pelletier authored
      This mimics what FileStorage uses (file offsets) but in a relational manner.
      This offloads decision of the ability to undo a transaction to storages,
      avoiding 3 data loads for each object in the transaction at client side.
      This also makes Neo refuse to undo transactions where object data would happen
      to be equal between current value and undone value.
      Finally, this is required to make database pack work properly (namely, it
      prevents loosing objects which are orphans at pack TID, but are reachable
      after it thanks to a transactional undo).
      
      Also, extend storage's transaction manager so database adapter can fetch data
      already sent by client in the same transaction, so it can undo multiple
      transactions at once. Requires making object lock re-entrant (done in this
      commit).
      
      git-svn-id: https://svn.erp5.org/repos/neo/trunk@1978 71dcc9de-d417-0410-9af5-da40c76e7ee4
      83c02447
    • Vincent Pelletier's avatar
      Change INVALID_[OID|TID] value. · 987351fb
      Vincent Pelletier authored
      OID 0 is a very valid oid. It's often used for the most important object of
      the database: the root object. Using 0xffffffffffffffff leaves some space.
      
      TID 0 is a very valid tid, for transactions back in unix year 0... or
      ZODB tests. Using 0xffffffffffffffff leaves some space.
      
      git-svn-id: https://svn.erp5.org/repos/neo/trunk@1977 71dcc9de-d417-0410-9af5-da40c76e7ee4
      987351fb