Rich Prohaska
e68794b6d0
move doc/man to tokudb/man. addresses #136
...
git-svn-id: file:///svn/tokudb@984 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 21:30:40 +00:00
Bradley C. Kuszmaul
3a073c1e17
Start moving more stuff out of dir. Addresses #126 .
...
git-svn-id: file:///svn/tokudb@982 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 20:58:45 +00:00
Rich Prohaska
6668583aad
add a checko2 target to verify OPTFLAGS. addresses #127
...
git-svn-id: file:///svn/tokudb@981 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 20:52:23 +00:00
Rich Prohaska
d5d67736c6
use a handle count to drive the global destructors. closes #125
...
git-svn-id: file:///svn/tokudb@980 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 20:35:53 +00:00
Bradley C. Kuszmaul
6ab4529c91
Switch over the fingerprints to be in the subfield
...
git-svn-id: file:///svn/tokudb@977 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 19:16:18 +00:00
Rich Prohaska
4ccaaf0250
set h->dirty when h->unused_memory changes. closes #129
...
git-svn-id: file:///svn/tokudb@976 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 18:56:46 +00:00
Rich Prohaska
0f58ab6b26
test case for the crash. addresses #129
...
git-svn-id: file:///svn/tokudb@975 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 18:52:58 +00:00
Yoni Fogel
2c315009a1
Addresses #123
...
DB->pget uses dbc->c_pget, but needs to convert DB_KEYEMPTY to DB_NOTFOUND.
git-svn-id: file:///svn/tokudb@974 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 18:40:53 +00:00
Yoni Fogel
215d94f8fa
Addresses #123
...
DB->del deletes silently anything out of date.
If DB->del deletes everything silently (doesn't find anything that was not out of date), it returns DB_NOTFOUND
git-svn-id: file:///svn/tokudb@973 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 18:40:16 +00:00
Rich Prohaska
9a7cf6a1e9
align matrix to make it readable
...
git-svn-id: file:///svn/tokudb@972 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 18:27:25 +00:00
Yoni Fogel
cd5e8ec014
Removed a comment and added an error checking case for c_pget
...
Addresses #123
git-svn-id: file:///svn/tokudb@971 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 18:22:12 +00:00
Yoni Fogel
e95808a112
get, pget silently delete out of date entries.
...
Addresses #123
pget calls c_pget, get calls pget
git-svn-id: file:///svn/tokudb@970 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 18:11:19 +00:00
Rich Prohaska
10aff1ba69
test the cursor nonleaf node expand function. closes #119
...
git-svn-id: file:///svn/tokudb@969 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 17:46:16 +00:00
Yoni Fogel
3b7ed01dcd
Addresses #123
...
c_get will silently delete any out of date entries (relies on c_pget)
Replaced comment about unimplemented variable with #ifdef
git-svn-id: file:///svn/tokudb@968 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 17:44:55 +00:00
Yoni Fogel
19d927b95e
Addresses #123
...
c_pget Will silently delete any entries that no longer have related primary keys,
or for which the primary key is out of data.
git-svn-id: file:///svn/tokudb@967 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 17:41:23 +00:00
Yoni Fogel
4b81ce0d1d
Modified test_dup_dup to handle more cases. Addresses #124
...
git-svn-id: file:///svn/tokudb@966 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 16:51:34 +00:00
Bradley C. Kuszmaul
d1569489ca
Get rid of childkeylens. Addresses #126 .
...
git-svn-id: file:///svn/tokudb@964 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 14:30:33 +00:00
Bradley C. Kuszmaul
814b68e843
Get rid of another case where childkeylens are used. Addresses #126 .
...
git-svn-id: file:///svn/tokudb@963 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 14:24:17 +00:00
Bradley C. Kuszmaul
4dfccf0d81
Get rid of a few more cases where childkeylens are used. Addresses #126 .
...
git-svn-id: file:///svn/tokudb@962 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 14:20:47 +00:00
Rich Prohaska
34dba08d89
create static bins by linking with libdb.a. addresses #55
...
git-svn-id: file:///svn/tokudb@961 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 13:54:26 +00:00
Bradley C. Kuszmaul
85a62db892
Nothing uses the childkeylens now. So we'll be able to remove them next. Addresses #126 .
...
git-svn-id: file:///svn/tokudb@960 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 13:52:52 +00:00
Rich Prohaska
1b16c0e1d1
addresses #124
...
git-svn-id: file:///svn/tokudb@959 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 13:14:19 +00:00
Rich Prohaska
14f8319ea4
addresses #125
...
git-svn-id: file:///svn/tokudb@958 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 12:08:25 +00:00
Bradley C. Kuszmaul
6ac3943735
Start making structs for the children. Addresses #126 .
...
git-svn-id: file:///svn/tokudb@957 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 12:00:24 +00:00
Bradley C. Kuszmaul
eeb476bdc4
Oops, caused a crash. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@956 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 11:59:35 +00:00
Rich Prohaska
d1a42e495b
fix DB_NEXT_DUP when the cursor points to a deleted kv pair. closes #121
...
git-svn-id: file:///svn/tokudb@950 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 00:32:44 +00:00
Yoni Fogel
2a86cadd11
Added test test_cursor_delete_next to test another boundary case of DB_NEXT_DUP.[[BR]]
...
It is possible to do a cursor delete and then a DB_NEXT_DUP.[[BR]]
BDB handles this properly.
Addresses #121
git-svn-id: file:///svn/tokudb@949 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 23:00:25 +00:00
Rich Prohaska
230d0d4632
add DBC->get DB_NEXT_DUP. addresses #121
...
git-svn-id: file:///svn/tokudb@948 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 22:07:48 +00:00
Bradley C. Kuszmaul
9801c3a7aa
Speed up recovery (a lot) by removing an assertion. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@947 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 20:40:39 +00:00
Bradley C. Kuszmaul
080f823012
Get rid of memory leaks. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@946 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 20:28:33 +00:00
Bradley C. Kuszmaul
ba1bd129d5
Can recover after 10 insertions. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@945 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 20:00:19 +00:00
Bradley C. Kuszmaul
a542433295
Make some of the PMA fields be unsigned.
...
Remove some leading __ (double underbars) from some symbols. (Addresses #8.)
Improve the verification of node sizes (because recovery is having trouble with this. Addresses #27.)
git-svn-id: file:///svn/tokudb@944 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 19:41:39 +00:00
Yoni Fogel
f9cf264d03
Add c_pget to DB->cursor
...
closes #107
git-svn-id: file:///svn/tokudb@943 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 19:32:09 +00:00
Rich Prohaska
6a762592d1
add c_pget to db.h addresses #107
...
git-svn-id: file:///svn/tokudb@942 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 19:26:19 +00:00
Bradley C. Kuszmaul
3e29f976cc
Fix valgrind problems caused by logging. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@941 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 18:22:42 +00:00
Rich Prohaska
bacd9f5bdf
add boundary tests. addresses #121
...
git-svn-id: file:///svn/tokudb@940 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 14:54:13 +00:00
Rich Prohaska
bab5a29155
add DB_NEXT_DUP test case. addresses #121
...
git-svn-id: file:///svn/tokudb@939 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 14:40:47 +00:00
Yoni Fogel
2a3fc11143
DB->del works with secondary indexes that support duplicate keys.
...
Addresses #112
Needs #121 to be finished before we can close it.
git-svn-id: file:///svn/tokudb@933 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 04:56:22 +00:00
Yoni Fogel
d4434535b4
Finished splitting functions into regular/noassociate versions.
...
Fixed bug where DB->del tried to delete the primary key (instead of secondary key) from
secondary indexes
Closes #117
Closes #120
git-svn-id: file:///svn/tokudb@932 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 04:14:05 +00:00
Yoni Fogel
f35e999b1e
Split db_put into two functions (noassociate/regular)
...
addresses #116
git-svn-id: file:///svn/tokudb@931 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 02:43:16 +00:00
Yoni Fogel
313231574e
Cleaned up c_get and c_pget,
...
returned SECONDARY_BAD for c_pget,
addresses #116
git-svn-id: file:///svn/tokudb@930 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 02:38:20 +00:00
Yoni Fogel
eb0b85faa0
DB->get split into two functions to avoid using
...
DB_NOASSOCIATE
addresses #116
git-svn-id: file:///svn/tokudb@929 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 01:34:06 +00:00
Rich Prohaska
f6476e0171
fix the ncursors > 0 assert in the nonleaf expand code caused when the cursor path traverses the child at the split point. addresses #119
...
git-svn-id: file:///svn/tokudb@928 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 01:07:48 +00:00
Bradley C. Kuszmaul
accc92e4b0
Add some information needed for recovery. Changed the size of the serialization, and caused a new cursor bug to show up. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@927 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-04 22:18:21 +00:00
Bradley C. Kuszmaul
3ca8f1e01d
pma move logging works better. Addresses #27
...
git-svn-id: file:///svn/tokudb@920 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-04 17:59:03 +00:00
Rich Prohaska
b970af1bcd
strip libs and utils. addresses #74
...
git-svn-id: file:///svn/tokudb@919 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-04 16:36:25 +00:00
Bradley C. Kuszmaul
8c37306c4e
pma move logging works better
...
git-svn-id: file:///svn/tokudb@918 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-04 16:16:30 +00:00
Rich Prohaska
8ed7c1b53c
add copyright. addresses #74
...
git-svn-id: file:///svn/tokudb@914 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-04 13:14:30 +00:00
Bradley C. Kuszmaul
4fd00d7311
Log some pma movements. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@911 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-04 10:02:59 +00:00
Yoni Fogel
f3e3d96fe1
do_associated_deletes now supports
...
deleting from dbs with duplicates.
addresses #112
git-svn-id: file:///svn/tokudb@906 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-03 19:58:46 +00:00