1. 21 Jan, 2008 12 commits
    • Yoni Fogel's avatar
      Addresses #284 · 11f669d5
      Yoni Fogel authored
      Coded toku_rt_decrease capacity to reclaim memory if size of range tree becomes
      too small for local array.
      
      git-svn-id: file:///svn/tokudb@1779 c7de825b-a66e-492c-adef-691d508d4ae1
      11f669d5
    • Yoni Fogel's avatar
      Closes 284 · 217bdf6d
      Yoni Fogel authored
      Linear time range tree implementation complete and passes all tests.
      
      git-svn-id: file:///svn/tokudb@1778 c7de825b-a66e-492c-adef-691d508d4ae1
      217bdf6d
    • Yoni Fogel's avatar
      Closes #288 · c6e67f9d
      Yoni Fogel authored
      Fixed minor bugs in tests.
      
      git-svn-id: file:///svn/tokudb@1777 c7de825b-a66e-492c-adef-691d508d4ae1
      c6e67f9d
    • Yoni Fogel's avatar
      Addresses #284 · 7a42c09e
      Yoni Fogel authored
      Checkpoint in implementing linear.c
      
      git-svn-id: file:///svn/tokudb@1776 c7de825b-a66e-492c-adef-691d508d4ae1
      7a42c09e
    • Yoni Fogel's avatar
      Addresses #288 · dcd4e5bf
      Yoni Fogel authored
      test Cases for pred/succ
       * Empty tree
        * Pred return nothing.
        * Succ return nothing.
       * 1 element tree.
        * Pred
        * Before
        * left
        * middle
        * right
        * after.
       * Succ
        * Before
        * left
        * middle
        * right
        * after
       * 2 element tree.
        * Pred, Succ
         * In empty space
          * Nothing to the left/Right (pred/succ) respectively.
          * something to the left/right (pred/succ) respectively.
         * On left endpoint.
          * Nothing to the left/Right (pred/succ) respectively.
          * something to the left/right (pred/succ) respectively.
         * On right endpoint.
          * Nothing to the left/Right (pred/succ) respectively.
          * something to the left/right (pred/succ) respectively.
         * In middle of range.
          * Nothing to the left/Right (pred/succ) respectively.
          * something to the left/right (pred/succ) respectively.
      
      
      git-svn-id: file:///svn/tokudb@1774 c7de825b-a66e-492c-adef-691d508d4ae1
      dcd4e5bf
    • Yoni Fogel's avatar
      Addresses #287 · f44ef6f0
      Yoni Fogel authored
      Bugfix in error cases of range trees.
      
      git-svn-id: file:///svn/tokudb@1773 c7de825b-a66e-492c-adef-691d508d4ae1
      f44ef6f0
    • Rich Prohaska's avatar
      make test-coverage addresses #277 · 41fedc43
      Rich Prohaska authored
      git-svn-id: file:///svn/tokudb@1772 c7de825b-a66e-492c-adef-691d508d4ae1
      41fedc43
    • Rich Prohaska's avatar
      build the coverage tool addresses #277 · 09d71405
      Rich Prohaska authored
      git-svn-id: file:///svn/tokudb@1771 c7de825b-a66e-492c-adef-691d508d4ae1
      09d71405
    • Yoni Fogel's avatar
      Addresses #288 · a50fdbb1
      Yoni Fogel authored
      Fixes bugs in tests where find parameters did not have data == NULL
      
      git-svn-id: file:///svn/tokudb@1770 c7de825b-a66e-492c-adef-691d508d4ae1
      a50fdbb1
    • Yoni Fogel's avatar
      Addresses #288 · bd475737
      Yoni Fogel authored
       * Query Tests:
        * Tree is empty (return none).
        * Tree contains only elements to the left.
        * Tree contains only elements to the right.
        * Tree contains only elements to the left and to the right.
        * Tree contains overlaps and elements to the left.
        * Tree contains overlaps and elements to the right.
        * Tree contains overlaps and elements to the left and to the right.
      
      
      git-svn-id: file:///svn/tokudb@1769 c7de825b-a66e-492c-adef-691d508d4ae1
      bd475737
    • Yoni Fogel's avatar
      Addresses #288 · 7cfca395
      Yoni Fogel authored
       * Query Tests:
        * Tree is empty (return none).
        * Tree contains only elements to the left.
        * Tree contains only elements to the right.
        * Tree contains only elements to the left and to the right.
        * Tree contains overlaps and elements to the left.
        * Tree contains overlaps and elements to the right.
        * Tree contains overlaps and elements to the left and to the right.
      
      
      git-svn-id: file:///svn/tokudb@1768 c7de825b-a66e-492c-adef-691d508d4ae1
      7cfca395
    • Rich Prohaska's avatar
      add test-coverage target addresses #277 · e38b71f5
      Rich Prohaska authored
      git-svn-id: file:///svn/tokudb@1767 c7de825b-a66e-492c-adef-691d508d4ae1
      e38b71f5
  2. 20 Jan, 2008 1 commit
    • Yoni Fogel's avatar
      Addresses #288 · c8f78cfa
      Yoni Fogel authored
      Test of     /*
              Limited/Unlimited Queries
      
              Limit of k does not produce all, but limit of 0 does.         Single point overlaps
          */
      
      
      git-svn-id: file:///svn/tokudb@1757 c7de825b-a66e-492c-adef-691d508d4ae1
      c8f78cfa
  3. 19 Jan, 2008 2 commits
    • Yoni Fogel's avatar
      Addresses #287 · 4e8b4f27
      Yoni Fogel authored
      Updated header and makefile for rangetree.h
      
      git-svn-id: file:///svn/tokudb@1746 c7de825b-a66e-492c-adef-691d508d4ae1
      4e8b4f27
    • Yoni Fogel's avatar
      Addresses #288 · 054dd4ee
      Yoni Fogel authored
      Added the following tests:
      
       * Single point overlaps
        * Tree: {|0-1|}, query of |1-2| returns |0-1|
        * Tree: {|1-2|}, query of |0-1| returns |1-2|
        * Tree: {|1-2|}, insert of of |0-1| success == allow_overlaps
        * Tree: {|0-1|}, insert of of |1-2| success == allow_overlaps
       * Complete overlaps
        * Tree: {|0-3|}, query of |1-2| returns |0-3|
        * Tree: {|1-2|}, query of |0-3| returns |1-2|
        * Tree: {|1-2|}, insert of of |0-3| success == allow_overlaps
        * Tree: {|0-3|}, insert of of |1-2| success == allow_overlaps
       * Exact overlaps
        * Tree: {|0-3|}, query of |0-3| returns |0-3|
        * Tree: {|0-3|}, insert of of |0-3| success == allow_overlaps
      
      Also freed buf and NULLed the pointer to help find memory leaks.
      
      git-svn-id: file:///svn/tokudb@1745 c7de825b-a66e-492c-adef-691d508d4ae1
      054dd4ee
  4. 18 Jan, 2008 16 commits
  5. 17 Jan, 2008 8 commits
  6. 16 Jan, 2008 1 commit