- 21 Jan, 2008 8 commits
-
-
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
-
Yoni Fogel authored
Bugfix in error cases of range trees. git-svn-id: file:///svn/tokudb@1773 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@1772 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@1771 c7de825b-a66e-492c-adef-691d508d4ae1
-
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
-
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
-
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
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@1767 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 20 Jan, 2008 1 commit
-
-
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
-
- 19 Jan, 2008 2 commits
-
-
Yoni Fogel authored
Updated header and makefile for rangetree.h git-svn-id: file:///svn/tokudb@1746 c7de825b-a66e-492c-adef-691d508d4ae1
-
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
-
- 18 Jan, 2008 16 commits
-
-
Yoni Fogel authored
More range tree tests. git-svn-id: file:///svn/tokudb@1744 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Additional tests for range trees. git-svn-id: file:///svn/tokudb@1743 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
back to toku_rt_insert. The error code was for insert, not delete. git-svn-id: file:///svn/tokudb@1742 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@1741 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
First set of test cases for range trees. linear.c is stub implementation so we can compile and write tests before we actually implement the range tree. The makefiles were modified just enough to get this to work, and have to be cleaned up a lot. git-svn-id: file:///svn/tokudb@1740 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@1739 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
Added header file with documentation for range trees git-svn-id: file:///svn/tokudb@1738 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@1737 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@1736 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@1735 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@1734 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@1733 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@1732 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
rollback for 5 now runs (but the files are wrong). Started working on a brtdump that will help debug this stuff. Right away I see important file differences after recover (the unused memory and unnamed root are wrong). Addresses #27. git-svn-id: file:///svn/tokudb@1731 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@1730 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@1729 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 17 Jan, 2008 8 commits
-
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@1719 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@1718 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@1717 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@1716 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@1715 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@1714 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@1713 c7de825b-a66e-492c-adef-691d508d4ae1
-
Bradley C. Kuszmaul authored
git-svn-id: file:///svn/tokudb@1707 c7de825b-a66e-492c-adef-691d508d4ae1
-
- 16 Jan, 2008 5 commits
-
-
Yoni Fogel authored
git-svn-id: file:///svn/tokudb@1699 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
incorrect locking. Addresses #7 git-svn-id: file:///svn/tokudb@1698 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@1697 c7de825b-a66e-492c-adef-691d508d4ae1
-
Yoni Fogel authored
#if defined(__APPLE__) static pthread_mutex_t ydb_big_lock = PTHREAD_MUTEX_INITIALIZER; #else static pthread_mutex_t ydb_big_lock = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP; #endif Unsure if this does the same thing for apple. Addresses #280 git-svn-id: file:///svn/tokudb@1696 c7de825b-a66e-492c-adef-691d508d4ae1
-
Rich Prohaska authored
git-svn-id: file:///svn/tokudb@1695 c7de825b-a66e-492c-adef-691d508d4ae1
-