Commit graph

918 commits

Author SHA1 Message Date
Rich Prohaska
a7f529c996 enable dump of db with unknown parameters
git-svn-id: file:///svn/tokudb@1916 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-27 03:17:37 +00:00
Rich Prohaska
0e803cdd71 add a test for zero length keys or values
git-svn-id: file:///svn/tokudb@1915 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-27 01:44:01 +00:00
Rich Prohaska
f1f9661f2a remove cursor count from the brt node. closes #310
git-svn-id: file:///svn/tokudb@1914 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 23:11:38 +00:00
Rich Prohaska
9cb1ee5864 verify the pma split key. addresses #277
git-svn-id: file:///svn/tokudb@1913 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 22:59:08 +00:00
Vincenzo Liberatore
0219c8a6f2 Addresses #311
Start the documentation of lock trees, at this point, mostly for 
our own education and understanding

git-svn-id: file:///svn/tokudb@1912 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 20:52:10 +00:00
Vincenzo Liberatore
714bdcff42 Addresses #288
Verifies end_cmp commutativity via overlap, and adds test cases to
stress exact comparison

git-svn-id: file:///svn/tokudb@1911 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 20:27:42 +00:00
Vincenzo Liberatore
136b3161bb Addresses #288
Exercise buffer increase and decrease.

git-svn-id: file:///svn/tokudb@1910 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 19:24:12 +00:00
Vincenzo Liberatore
460b31fd67 Addresses #288
Code coverage: 100%, exercise all branches except for asserts and similar.
Now requires end_cmp to be commutative.

git-svn-id: file:///svn/tokudb@1909 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 19:20:57 +00:00
Rich Prohaska
c4b38c11d0 add pma set_position_prev tests. addresses #250
git-svn-id: file:///svn/tokudb@1908 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 19:20:47 +00:00
Rich Prohaska
748e22bb29 add range/lock tree to coverage. addresses #277
git-svn-id: file:///svn/tokudb@1907 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 18:54:22 +00:00
Yoni Fogel
1a8d8f44ef Addresses #288
Modified test cases to finish 100% gcov of linear.c

git-svn-id: file:///svn/tokudb@1906 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 17:34:05 +00:00
Rich Prohaska
27ed10b68e turn the O2 flag back on
git-svn-id: file:///svn/tokudb@1902 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 12:52:56 +00:00
Yoni Fogel
84d455e0c9 Addresses #307
Added more tests of read locks.

git-svn-id: file:///svn/tokudb@1896 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 22:42:51 +00:00
Yoni Fogel
d652150451 Addresses #293
Renamed some accessor functions and made them nonstatic
so that the test programs can access them.

Allocated the fake selfread/selfwrite trees in the
function that requests them (and creates if necessary) instead of
toku_lt_create

git-svn-id: file:///svn/tokudb@1895 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 22:42:17 +00:00
Rich Prohaska
9b89cd9c63 more testing of the pma search function. addresses #250
git-svn-id: file:///svn/tokudb@1894 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 22:12:02 +00:00
Bradley C. Kuszmaul
1ee574216a start making db-benchmark-test recoverable. Addresses #27.
git-svn-id: file:///svn/tokudb@1893 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 21:50:07 +00:00
Rich Prohaska
9f67229283 change the multi-thread safe lock tests. closes #7
git-svn-id: file:///svn/tokudb@1892 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 21:21:55 +00:00
Rich Prohaska
f1efa7b9a3 simplify the pma (remove the pma cursors and the deleted bit). closes #250
git-svn-id: file:///svn/tokudb@1891 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 20:44:16 +00:00
Yoni Fogel
87ccce98b5 Addresses #307
More tests.

git-svn-id: file:///svn/tokudb@1890 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 16:18:18 +00:00
Rich Prohaska
cba0d393c3 test cursor prev_nodup. addresses #250
git-svn-id: file:///svn/tokudb@1889 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 16:10:29 +00:00
Rich Prohaska
994e349e38 fix the c++ exceptions test of cursor delete any. addresses #250
git-svn-id: file:///svn/tokudb@1888 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 16:09:44 +00:00
Rich Prohaska
6e4f8f8f8e update the db.h copyrights. addresses #283
git-svn-id: file:///svn/tokudb@1887 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 16:00:41 +00:00
Rich Prohaska
9de9221a68 cursor get_both_range now works like BDB. closes #187
git-svn-id: file:///svn/tokudb@1886 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:57:10 +00:00
Yoni Fogel
955d6bbee6 Addresses #307
Bugfix in read test.
Initialized wrong values.

git-svn-id: file:///svn/tokudb@1885 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:53:25 +00:00
Rich Prohaska
19f96bf6bc 3rd cut of new cursors merge to trunk. addresses #250
git-svn-id: file:///svn/tokudb@1884 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:52:33 +00:00
Yoni Fogel
74d75d6df4 Addresses #293
Bugfixes in locktree.  Copy the payload to the memory allocated for it


git-svn-id: file:///svn/tokudb@1883 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:46:22 +00:00
Rich Prohaska
fd7d31062a 2nd cut of new cursors merge to trunk. addresses #250
git-svn-id: file:///svn/tokudb@1882 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:44:49 +00:00
Rich Prohaska
d2d80add96 first cut or new cursors merge to trunk. addresses #250
git-svn-id: file:///svn/tokudb@1881 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:43:37 +00:00
Yoni Fogel
ce8c74624f Addresses #307
Addresses #293
Bugfixes in locktree, selfread must NOT allow overlaps.


git-svn-id: file:///svn/tokudb@1880 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:36:52 +00:00
Yoni Fogel
b19081a24a Addresses #293
Added missing error checking code.
Rangewrite lock returns ENOSYS until/if ever it gets implemented.

git-svn-id: file:///svn/tokudb@1879 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:09:46 +00:00
Yoni Fogel
907ca3199f Addresses #307
Fixed uninitialized variable bug in a test.

git-svn-id: file:///svn/tokudb@1878 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:08:13 +00:00
Yoni Fogel
e20a626426 Addresses #288
Fixed some bugs in find_range test.

git-svn-id: file:///svn/tokudb@1876 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:04:25 +00:00
Yoni Fogel
94100f82ea Addresses #307
Added more parameter based tests

git-svn-id: file:///svn/tokudb@1875 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 14:57:10 +00:00
Yoni Fogel
80a723c9a6 Addresses #307
Added additional EINVAL/EDOM tests.
Modified createclose to help check for memory leak and more cases.

git-svn-id: file:///svn/tokudb@1865 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 02:28:46 +00:00
Yoni Fogel
fbcf218f51 Addresses #293
Added checks for left > right,
and added additional needed EINVAL checks.

git-svn-id: file:///svn/tokudb@1864 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 02:27:11 +00:00
Yoni Fogel
2154fc6bef typo fix
git-svn-id: file:///svn/tokudb@1863 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 02:26:08 +00:00
Yoni Fogel
8a7e87a179 renamed file
git-svn-id: file:///svn/tokudb@1862 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 01:39:52 +00:00
Yoni Fogel
035eba1fe3 Addresses #307
Initial tests and makefile for lock tree.

git-svn-id: file:///svn/tokudb@1861 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 01:33:04 +00:00
Yoni Fogel
a1872a315f addresses #293
Fixed an error in assertions

git-svn-id: file:///svn/tokudb@1860 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 01:31:30 +00:00
Yoni Fogel
e711fbada5 Modified header
git-svn-id: file:///svn/tokudb@1858 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 21:17:36 +00:00
Yoni Fogel
d24d0e3d04 Addresses #293
git-svn-id: file:///svn/tokudb@1857 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 21:17:19 +00:00
Rich Prohaska
ee0bfdf548 fix 32 bit linux build. closes #297
git-svn-id: file:///svn/tokudb@1856 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 20:31:16 +00:00
Yoni Fogel
98d31e20e4 Modified comment in header
git-svn-id: file:///svn/tokudb@1855 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 19:29:53 +00:00
Yoni Fogel
86fcd60f31 Addresses #293
Read lock appears to be finished for now.

git-svn-id: file:///svn/tokudb@1854 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 19:29:35 +00:00
Rich Prohaska
369da65117 add check target. addresses #299
git-svn-id: file:///svn/tokudb@1845 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 15:39:26 +00:00
Bradley C. Kuszmaul
9fe0391206 Add copyright 2008. Fixes #283.
git-svn-id: file:///svn/tokudb@1844 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 15:10:32 +00:00
Bradley C. Kuszmaul
fc5314ec6d Make the LSN be properly defined in the in-memory logentry so rollback will work right. Fixes #304.
git-svn-id: file:///svn/tokudb@1843 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 15:02:46 +00:00
Bradley C. Kuszmaul
970234a759 Fix db-benchmark-test. Fixes #300.
git-svn-id: file:///svn/tokudb@1841 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 13:51:34 +00:00
Yoni Fogel
779e7f3fc4 Addresses #293
Checkpoint in lock tree implementation.
Write locks and point locks appear to be done,
bugs fixed in comparison function.

Need to do a bunch of worst case error handling still.

git-svn-id: file:///svn/tokudb@1830 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 01:00:40 +00:00
Yoni Fogel
0af793b40b Addresses #293
Checkpoint in implementation.
Vincenzo left for the night.

git-svn-id: file:///svn/tokudb@1829 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-23 22:17:40 +00:00