Bradley C. Kuszmaul
acdf833c6c
Remove memory leak. Fixes #1027 .
...
git-svn-id: file:///svn/tokudb@5194 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-18 18:54:17 +00:00
Bradley C. Kuszmaul
10bdafb7fc
The problem was in the test code. It was creating a MALLOC DBT and then never freeing stuff. Fixes #1026 .
...
git-svn-id: file:///svn/tokudb@5189 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-18 16:17:32 +00:00
Bradley C. Kuszmaul
05d057c019
Cleanup test dirs when doing make clean. Fixes #1028 .
...
git-svn-id: file:///svn/tokudb@5182 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-18 12:34:24 +00:00
Rich Prohaska
869c0f107c
simplify memory.c, map toku_malloc direct to malloc. closes #1024
...
git-svn-id: file:///svn/tokudb@5167 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-17 20:58:57 +00:00
Bradley C. Kuszmaul
273b90ab7f
Remove memory leak. Fixes #1025 .
...
git-svn-id: file:///svn/tokudb@5165 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-17 19:54:11 +00:00
Yoni Fogel
18b35fc088
Addresses #993
...
Merge branch 993 back into main.
git-svn-id: file:///svn/tokudb@5141 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-16 22:23:29 +00:00
Rich Prohaska
c7c25f5c7e
treak the seq insert algorithm. addresses #1003
...
git-svn-id: file:///svn/tokudb@5091 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-13 00:04:22 +00:00
Bradley C. Kuszmaul
fd6a6d1447
Merge in the tokudb.1017 patches to the main branch. Fixes #1017 .
...
{{{
$ (cd tokudb;svn merge -r5048:5080 https://svn.tokutek.com/tokudb/tokudb.1017 )
$ svn delete tokudb.1017
}}}
git-svn-id: file:///svn/tokudb@5081 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-11 22:00:06 +00:00
Bradley C. Kuszmaul
bf807a8af8
Fixes #853 . {{{svn merge -r5009:5043 https://svn.tokutek.com/tokudb/tokudb.853 }}}.
...
git-svn-id: file:///svn/tokudb@5046 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-10 18:46:41 +00:00
Rich Prohaska
8d432d4bb0
add pthread_mutex_lock/unlock to the test
...
git-svn-id: file:///svn/tokudb@5036 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-10 13:42:39 +00:00
Rich Prohaska
a68937a031
read the timestamp counter. closes #1012
...
git-svn-id: file:///svn/tokudb@5018 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-09 18:50:06 +00:00
Bradley C. Kuszmaul
3381558927
Print all the extra functions when building the h files. Fixes #1005 .
...
git-svn-id: file:///svn/tokudb@5012 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-09 16:55:59 +00:00
Rich Prohaska
a754a77ff6
support OPTFLAGS
...
git-svn-id: file:///svn/tokudb@5006 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-09 13:27:55 +00:00
Bradley C. Kuszmaul
674f22ce5e
Buffer the reading of the rollback file. Gains 5% on large transactions. Fixes #1002 .
...
git-svn-id: file:///svn/tokudb@5005 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-09 12:00:26 +00:00
Rich Prohaska
6a0efbf923
test case to check mostly seq inserts. closes #1003
...
git-svn-id: file:///svn/tokudb@4984 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-08 17:54:35 +00:00
Rich Prohaska
4ac45ace29
detect mostly sequential insertions. addresses #1003
...
git-svn-id: file:///svn/tokudb@4979 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-08 11:08:15 +00:00
Rich Prohaska
97a2188053
send commits for delete operations. addresses #976
...
git-svn-id: file:///svn/tokudb@4875 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-01 19:52:35 +00:00
Rich Prohaska
2f5ebc7d8b
define the db->truncate function. addresses #968
...
git-svn-id: file:///svn/tokudb@4824 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-30 20:17:58 +00:00
Rich Prohaska
25019cfce5
reset the seq inserts counter when a node splits
...
git-svn-id: file:///svn/tokudb@4823 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-30 20:15:38 +00:00
Bradley C. Kuszmaul
5a8367a9b2
Cleanup more. Addresses #938 .
...
git-svn-id: file:///svn/tokudb@4773 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-26 21:58:00 +00:00
Bradley C. Kuszmaul
96c14cbfe6
Cleanup. Addresses #944 , #938 .
...
git-svn-id: file:///svn/tokudb@4772 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-26 21:12:32 +00:00
Bradley C. Kuszmaul
8bfa4af9f9
Finally wrote a test for #938 . Addresses #938 .
...
git-svn-id: file:///svn/tokudb@4740 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 22:15:09 +00:00
Bradley C. Kuszmaul
4b79a2237d
Try to write another test that tickles #938 . Addresses #938 .
...
git-svn-id: file:///svn/tokudb@4739 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 21:53:36 +00:00
Bradley C. Kuszmaul
f45c98f91a
Try to write another test that tickles #938 .
...
git-svn-id: file:///svn/tokudb@4737 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 20:41:17 +00:00
Bradley C. Kuszmaul
d605072239
Create another version of the 944 test that passes. This really Addresses #938 .
...
git-svn-id: file:///svn/tokudb@4735 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 20:31:45 +00:00
Bradley C. Kuszmaul
f68d16f45d
Make test944.c be an XFAIL. Addresses #944 .
...
git-svn-id: file:///svn/tokudb@4722 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 14:13:17 +00:00
Bradley C. Kuszmaul
ddd10bd785
Make sure the same thing works for nondup databases. Addresses #944 .
...
git-svn-id: file:///svn/tokudb@4721 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 14:11:36 +00:00
Bradley C. Kuszmaul
44aa4d3c37
Create test for #944 . Addresses #944 .
...
git-svn-id: file:///svn/tokudb@4720 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 14:04:52 +00:00
Rich Prohaska
4c98e604da
tweek the test. addresses #923
...
git-svn-id: file:///svn/tokudb@4718 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-24 12:20:14 +00:00
Rich Prohaska
f8c2f6bae5
cleanup. closes #923
...
git-svn-id: file:///svn/tokudb@4709 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-23 18:58:39 +00:00
Rich Prohaska
2ebdaf3eac
try some experiments. addresses #923
...
git-svn-id: file:///svn/tokudb@4708 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-23 18:46:48 +00:00
Rich Prohaska
1267822737
make the bin search midpoint numerically stable.
...
git-svn-id: file:///svn/tokudb@4705 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-23 14:45:54 +00:00
Zardosht Kasheff
651ef11978
addresses #938
...
fixed instance of retrieving a DBT that was a key instead of a val
git-svn-id: file:///svn/tokudb@4669 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-20 17:20:03 +00:00
Bradley C. Kuszmaul
5cddfeee5c
Get rid of {{{toku_keycompare}}} in favor of {{{brt->compare_fun}}} in {{{brt.c}}}. Fixes #9 .
...
git-svn-id: file:///svn/tokudb@4650 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-19 11:32:25 +00:00
Bradley C. Kuszmaul
93d2d2fcfa
Enable tail calls. Fixes #879 .
...
git-svn-id: file:///svn/tokudb@4645 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-19 01:46:41 +00:00
Rich Prohaska
89307e2945
init the val memory to fix a valgrind error. addresses #935
...
git-svn-id: file:///svn/tokudb@4641 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 23:53:05 +00:00
Bradley C. Kuszmaul
f714e3e873
Merge in the final hash shortcuts.
...
{{{
svn merge -r4633:4638 https://svn.tokutek.com/tokudb/tokudb.906
}}}
Addresses #906 .
git-svn-id: file:///svn/tokudb@4639 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 21:38:01 +00:00
Rich Prohaska
77f3953c85
test case for bug 935. addresses #935
...
git-svn-id: file:///svn/tokudb@4635 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 20:49:50 +00:00
Bradley C. Kuszmaul
01e53bc148
Quiet down the make. Addresses #13 .
...
git-svn-id: file:///svn/tokudb@4631 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 13:45:47 +00:00
Rich Prohaska
798e923370
merge some more seq insert code to main. addresses #896
...
git-svn-id: file:///svn/tokudb@4627 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 10:22:06 +00:00
Rich Prohaska
f4ec866165
merge some seq insert code to main. addresses #896
...
git-svn-id: file:///svn/tokudb@4626 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 10:02:06 +00:00
Rich Prohaska
9c6dd317ac
disable test_838 for now. addresses #923
...
git-svn-id: file:///svn/tokudb@4624 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 09:34:37 +00:00
Bradley C. Kuszmaul
6b685145d1
Merge {{{tokudb.906}}} into {{{tokudb}}}. Very few hash calls remain.
...
Did
{{{
svn merge -r4600:4610 https://svn.tokutek.com/tokudb/tokudb.906
}}}
and delete the 906 branch.
Fixes #906 .
git-svn-id: file:///svn/tokudb@4615 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 00:30:36 +00:00
Bradley C. Kuszmaul
4db5b5063c
Did
...
{{{
svn merge -r4556:4568 https://svn.tokutek.com/tokudb/tokudb.906
}}}
to incorporate the hash improvements.
Addresses #906 .
git-svn-id: file:///svn/tokudb@4596 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-17 17:05:19 +00:00
Vincenzo Liberatore
53161133c1
Addresses #923 Better printouts on verbose=1
...
git-svn-id: file:///svn/tokudb@4587 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-17 13:36:42 +00:00
Yoni Fogel
4b35c3f3ef
Addresses #918
...
Allocates room for at least 4 elements every time we convert from tree
to array (and vice versa).
git-svn-id: file:///svn/tokudb@4586 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-17 12:17:48 +00:00
Yoni Fogel
56861ecd78
addresses #918
...
Merged current progress into trunk
git-svn-id: file:///svn/tokudb@4581 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-17 04:29:17 +00:00
Yoni Fogel
131172d61e
Fix issue compiler was warning about in 4577
...
git-svn-id: file:///svn/tokudb@4580 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-17 04:28:33 +00:00
Rich Prohaska
b526f096a5
fix compiler warning
...
git-svn-id: file:///svn/tokudb@4577 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-17 00:49:03 +00:00
Yoni Fogel
1ce2303c6b
Addresses #918
...
Merge 'convert to array on rebalancing root' change
git-svn-id: file:///svn/tokudb@4576 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-17 00:01:35 +00:00