Bradley C. Kuszmaul
1a155723d6
Add copyrights using #ident on the top of newbrt sources. Addresses #54 .
...
git-svn-id: file:///svn/tokudb@817 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-29 14:18:54 +00:00
Yoni Fogel
aea1b4c69d
Data is padded with spaces instead of 0-filled
...
for test_db_secondary
Addresses #68
git-svn-id: file:///svn/tokudb@812 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-29 01:52:14 +00:00
Yoni Fogel
528663a292
Added test_db_secondary
...
Closes #68
git-svn-id: file:///svn/tokudb@811 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-29 01:46:52 +00:00
Rich Prohaska
a959cd4bd5
addresses #47
...
git-svn-id: file:///svn/tokudb@810 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 22:36:20 +00:00
Rich Prohaska
dd6d25803f
addresses #49
...
git-svn-id: file:///svn/tokudb@808 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 21:40:41 +00:00
Rich Prohaska
67dc4d5e3e
addresses #8
...
git-svn-id: file:///svn/tokudb@807 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 20:51:16 +00:00
Rich Prohaska
64dbec8b77
implement db->del as a lookup followed by a delete to match BDB del return value. also implemented a tokutek flag that suppresses the return value. closes #45
...
git-svn-id: file:///svn/tokudb@806 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 20:47:21 +00:00
Rich Prohaska
14bba37fdf
add pget, TOKUDB to db.h. closes #69 . closes #70
...
git-svn-id: file:///svn/tokudb@805 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 20:04:35 +00:00
Rich Prohaska
d074a42ec6
cursor DB_SET op should not change the key. closes #73
...
git-svn-id: file:///svn/tokudb@804 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 19:46:39 +00:00
Bradley C. Kuszmaul
ca6ac478ef
A bunch of symbols that don't start with toku_ are made static or start with toku_. Addresses #8 .
...
git-svn-id: file:///svn/tokudb@802 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 19:14:58 +00:00
Bradley C. Kuszmaul
e4dcc3e9f8
A bunch of symbols that don't start with toku_ are made static or start with toku_. Addresses #8 .
...
git-svn-id: file:///svn/tokudb@801 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 19:09:24 +00:00
Bradley C. Kuszmaul
2020f63610
A bunch of symbols that don't start with toku_ are made static or start with toku_. Addresses #8 .
...
git-svn-id: file:///svn/tokudb@800 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 19:00:21 +00:00
Yoni Fogel
1874eb48c9
Removed execute permissions from source files
...
git-svn-id: file:///svn/tokudb@799 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 17:23:09 +00:00
Yoni Fogel
6d82cfad4d
Made test_env_close_flags work with bdb
...
addresses #16
git-svn-id: file:///svn/tokudb@798 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 17:22:01 +00:00
Yoni Fogel
fd47d05e12
Suppress output if not in verbose mode
...
git-svn-id: file:///svn/tokudb@797 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 17:16:40 +00:00
Yoni Fogel
5c04982f40
Follow bdb behavior more closely
...
Default to '.' if we use DB_USE_ENVIRON (or root version) and DB_HOME is not set.
closes #59
git-svn-id: file:///svn/tokudb@793 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 17:12:13 +00:00
Yoni Fogel
8fb3002f43
NULL home to dbenv now defaults to '.' instead of
...
EINVAL.
addresses #59
git-svn-id: file:///svn/tokudb@792 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 17:08:45 +00:00
Rich Prohaska
f32c1f3196
addresses #49
...
git-svn-id: file:///svn/tokudb@789 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 15:38:54 +00:00
Rich Prohaska
9225809fcf
addresses #45
...
git-svn-id: file:///svn/tokudb@785 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 15:10:16 +00:00
Bradley C. Kuszmaul
2ff8410687
Fix indentation
...
git-svn-id: file:///svn/tokudb@784 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 14:51:55 +00:00
Yoni Fogel
f40ba83d2f
Default env directory is '.'
...
Add support for DB_USE_ENVIRON and DB_USE_ENVIRON_ROOT
git-svn-id: file:///svn/tokudb@783 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 14:50:09 +00:00
Bradley C. Kuszmaul
897e28c38a
Get rid of conflict on {{{index}}}. Fixes #56 .
...
git-svn-id: file:///svn/tokudb@782 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 14:21:22 +00:00
Rich Prohaska
15597e699e
use BDBDIR variable for multiple BDB builds. addresses #49
...
git-svn-id: file:///svn/tokudb@778 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 00:44:04 +00:00
Bradley C. Kuszmaul
bafd365340
Build the sample offsets on a 64-bit machine (including db->associate). Addresse #48 .
...
git-svn-id: file:///svn/tokudb@777 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-27 22:32:21 +00:00
Bradley C. Kuszmaul
b1506c236c
Add db->associate to the set of methods we put into db.h. Addresses #48 .
...
git-svn-id: file:///svn/tokudb@776 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-27 22:28:09 +00:00
Rich Prohaska
472ae66e36
test case for tokudb handle split of child crash. addresses #51
...
git-svn-id: file:///svn/tokudb@775 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-27 22:18:40 +00:00
Rich Prohaska
25163189be
use BDB var to control bdb releases. addresses #49
...
git-svn-id: file:///svn/tokudb@774 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-27 22:17:51 +00:00
Rich Prohaska
7f8a7cd084
test case for tokudb handle split of child crash. addresses #51
...
git-svn-id: file:///svn/tokudb@772 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-27 20:56:56 +00:00
Rich Prohaska
3c948cdeac
update the db.h for 4.4.20. addresses #49
...
git-svn-id: file:///svn/tokudb@771 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-27 20:36:02 +00:00
Rich Prohaska
8ff534e152
use kv-pair's to contain the pivot key and data. closes #37
...
git-svn-id: file:///svn/tokudb@770 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-27 18:16:45 +00:00
Rich Prohaska
2a8344c090
add tree flags to the node to drive serialization of pivots. addresses #5
...
git-svn-id: file:///svn/tokudb@769 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-27 15:22:56 +00:00
Bradley C. Kuszmaul
a9bae208c4
src/tests/test_log3.recover now works (can recover after inserting one thing into a BRT. Addresses #27 . Closes #43 .
...
git-svn-id: file:///svn/tokudb@767 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-27 10:48:31 +00:00
Bradley C. Kuszmaul
9da9621873
Stop passing DB* everywhere. Instead store it in the BRT and PMA structs. Fixes #39 .
...
git-svn-id: file:///svn/tokudb@761 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-26 21:51:36 +00:00
Bradley C. Kuszmaul
7bb03b5161
Still not right. Addresses #27
...
git-svn-id: file:///svn/tokudb@760 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-26 20:09:53 +00:00
Bradley C. Kuszmaul
773308d9d2
pma-test was failing after recent changes for recovery. Addresses #27
...
git-svn-id: file:///svn/tokudb@759 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-26 20:08:36 +00:00
Bradley C. Kuszmaul
b93b2eec7d
The PRI macros actually seemed the cleanest way to fix this. Fixed #38 .
...
git-svn-id: file:///svn/tokudb@758 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-26 18:47:44 +00:00
Yoni Fogel
2f633ea10a
Added DB_USE_ENVIRON and DB_USE_ENVIRON_ROOT
...
git-svn-id: file:///svn/tokudb@757 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-26 17:24:43 +00:00
Yoni Fogel
acf13b93bb
db_create returns EINVAL on any flags. Fixes #36
...
git-svn-id: file:///svn/tokudb@756 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-26 16:28:00 +00:00
Yoni Fogel
b4e9133ffb
Typo fix in assert statement.
...
We were checking the 'write' system call instead of the 'do_write' variable.
git-svn-id: file:///svn/tokudb@755 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-26 15:39:38 +00:00
Rich Prohaska
d345db0551
Addresses #19
...
git-svn-id: file:///svn/tokudb@754 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-26 15:26:47 +00:00
Yoni Fogel
3922fc2d89
Uses toku_txn_get_txnid instead of dereferencing.
...
Closes #35 .
git-svn-id: file:///svn/tokudb@753 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-26 14:54:33 +00:00
Yoni Fogel
755da65cea
Modified test_db_env_open_open_close
...
Documented in the test that BDB does not behave as expected,
Changed it to create both times (BDB was failing for reasons other than the test intended)
closes #34
git-svn-id: file:///svn/tokudb@752 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-26 14:24:59 +00:00
Rich Prohaska
88378bda52
search in a BRT with duplicate keys is equivalent to a DB_SET cursor get.
...
Addresses #19
git-svn-id: file:///svn/tokudb@748 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-25 18:17:01 +00:00
Rich Prohaska
c81c914777
run with -O0 on 32 bit linux creates a broken log_header.h file. Addresses #33
...
git-svn-id: file:///svn/tokudb@746 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-25 16:39:38 +00:00
Bradley C. Kuszmaul
ab3bdffaf3
Start logging an insert (but don't deal with the bt_compare issue yet. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@745 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-25 15:10:26 +00:00
Bradley C. Kuszmaul
0265e38eeb
test_log3 now tries inserting something. The resulting log entry is bad, however. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@744 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-25 14:38:25 +00:00
Bradley C. Kuszmaul
da98b27ffe
Improve test infrastructure. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@743 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-25 14:33:54 +00:00
Rich Prohaska
102719b272
logformat was crashing on RHEL5 machines. the contents of ap was being changed. addresses #33
...
git-svn-id: file:///svn/tokudb@742 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-25 14:32:52 +00:00
Bradley C. Kuszmaul
c89aaafab8
Add recovery tests to the src/tests check rule
...
git-svn-id: file:///svn/tokudb@741 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-25 14:25:56 +00:00
Bradley C. Kuszmaul
da2a69a411
Rename logdump to tdb_logprint. Closes #26 .
...
git-svn-id: file:///svn/tokudb@736 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-24 23:48:34 +00:00