1. 05 Oct, 2010 5 commits
  2. 03 Oct, 2010 1 commit
  3. 30 Sep, 2010 1 commit
  4. 29 Sep, 2010 1 commit
  5. 26 Sep, 2010 9 commits
  6. 25 Sep, 2010 15 commits
  7. 24 Sep, 2010 5 commits
    • Rusty Russell's avatar
      tdb: implement tdb_summary. · 1c7178a0
      Rusty Russell authored
      Including pretty graphs!
      1c7178a0
    • Rusty Russell's avatar
      tally: implement tally_total() · e0fd4d11
      Rusty Russell authored
      Not as trivial as you might think, with overflow and underflow.
      e0fd4d11
    • Rusty Russell's avatar
      tdb: TDB_INCOMPATIBLE_HASH, to allow safe changing of default hash. · 95bf6d3f
      Rusty Russell authored
      This flag to tdb_open/tdb_open_ex effects creation of a new database:
      1) Uses the Jenkins lookup3 hash instead of the old gdbm hash if none is
         specified,
      2) Places a non-zero field in header->rwlocks, so older versions of TDB will
         refuse to open it.
      
      This means that the caller (ie Samba) can set this flag to safely
      change the hash function.  Versions of TDB from this one on will either
      use the correct hash or refuse to open (if a different hash is specified).
      Older TDB versions will see the nonzero rwlocks field and refuse to open 
      it under any conditions.
      95bf6d3f
    • Rusty Russell's avatar
      tdb: automatically identify Jenkins hash tdbs · 16f4f30f
      Rusty Russell authored
      If the caller to tdb_open_ex() doesn't specify a hash, and tdb_old_hash
      doesn't match, try tdb_jenkins_hash.
      
      This makes life simpler, especially with the upcoming TDB_INCOMPATIBLE_HASH
      flag.
      16f4f30f
    • Rusty Russell's avatar
      tdb: add Bob Jenkins lookup3 hash as helper hash. · d117f992
      Rusty Russell authored
      This is a better hash than the default: shipping it with tdb makes it easy
      for callers to use it as the hash by passing it to tdb_open_ex().
      d117f992
  8. 23 Sep, 2010 2 commits
  9. 14 Sep, 2010 1 commit