1. 18 Jun, 2008 4 commits
  2. 17 Jun, 2008 7 commits
  3. 16 Jun, 2008 2 commits
  4. 15 Jun, 2008 4 commits
  5. 14 Jun, 2008 1 commit
  6. 13 Jun, 2008 2 commits
  7. 12 Jun, 2008 6 commits
  8. 11 Jun, 2008 4 commits
  9. 10 Jun, 2008 5 commits
  10. 08 Jun, 2008 2 commits
  11. 06 Jun, 2008 3 commits
    • Yoni Fogel's avatar
      Addresses #893 · d8917f55
      Yoni Fogel authored
      Parameters to pre_lock are supposed to be const DBT*'s instead of DBT*'s.
      
      git-svn-id: file:///svn/tokudb@4403 c7de825b-a66e-492c-adef-691d508d4ae1
      d8917f55
    • Yoni Fogel's avatar
      Addresses #893 · a15d3db8
      Yoni Fogel authored
      Implement db->pre_acquire_read_lock(), db->dbt_pos_infty(), and db->dbt_neg_infty()
      functions.
      
      Example usage to lock entire table:
      db->pre_acquire_read_lock(db, txn, db->dbt_neg_infty(), NULL, db->dbt_pos_infty(), NULL);
      (Above is for db with no duplicates, i.e. primary index).
      
      For db with duplicates:
      db->pre_acquire_read_lock(db, txn, db->dbt_neg_infty(), db->dbt_neg_infty(), db->dbt_pos_infty(), db->dbt_pos_infty());
      
      Will return same lock error codes as db calls do (when locks fail).
      0 = success
      DB_LOCK_NOTGRANTED = failed to obtain the lock.
      We can theoretically sleep and try again here.
      
      If you want to grab from DBT* A to infinity..
      db->pre_acquire_read_lock(db, txn, A, NULL, db->dbt_pos_infty(), NULL);
      
      
      git-svn-id: file:///svn/tokudb@4402 c7de825b-a66e-492c-adef-691d508d4ae1
      a15d3db8
    • Yoni Fogel's avatar
      Addresses #889 · 4813db5f
      Yoni Fogel authored
      Leaf boundary test now checks left to right and right to left.
      
      git-svn-id: file:///svn/tokudb@4401 c7de825b-a66e-492c-adef-691d508d4ae1
      4813db5f