Commit graph

941 commits

Author SHA1 Message Date
Bradley C. Kuszmaul
2e243fc71d Fix the type in set_errcall. Addresses #246.
git-svn-id: file:///svn/tokudb@1533 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-07 16:30:38 +00:00
Bradley C. Kuszmaul
2f3f749bd9 Fix the type in set_errcall. Addresses #246.
git-svn-id: file:///svn/tokudb@1532 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-07 16:29:34 +00:00
Bradley C. Kuszmaul
d436127eeb Fix the type in set_errcall. Addresses #246.
git-svn-id: file:///svn/tokudb@1531 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-07 16:29:12 +00:00
Bradley C. Kuszmaul
3bdd9763ca Fix the type in set_errcall. Addresses #246.
git-svn-id: file:///svn/tokudb@1530 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-07 15:38:41 +00:00
Bradley C. Kuszmaul
c7b854e234 Fix the type in set_errcall. Addresses #246.
git-svn-id: file:///svn/tokudb@1529 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-07 15:36:08 +00:00
Rich Prohaska
61757cdd76 accomodate the strange cache size settings of bdb. closes #243
git-svn-id: file:///svn/tokudb@1528 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-07 15:24:57 +00:00
Rich Prohaska
ae4f08d9d4 make it work correctly on bdb. closes #244
git-svn-id: file:///svn/tokudb@1527 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-07 14:29:08 +00:00
Yoni Fogel
988295b953 Closes #241
DB->get on a secondary with flag DB_GET_BOTH will now return EINVAL
instead of crashing on an assert.

Also revamped test_db_get_put_flags to test this, and made all tests run on both
BDB and tokudb

git-svn-id: file:///svn/tokudb@1502 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-04 17:53:16 +00:00
Yoni Fogel
981db5f817 Bugfix with makefile: Tokudb tests now support VERBOSE=2 again
(was running in VERBOSE=1 mode)

git-svn-id: file:///svn/tokudb@1501 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-04 17:51:10 +00:00
Yoni Fogel
c040f95712 Added c++ wrappers for get_flags
Also added errcall initializer
Addresses #240

git-svn-id: file:///svn/tokudb@1500 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-04 16:45:44 +00:00
Rich Prohaska
844ba8cf2c fix 64 bit compile
git-svn-id: file:///svn/tokudb@1482 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-02 21:52:09 +00:00
Rich Prohaska
aed37ec51c first cut of delboth addresses #182
git-svn-id: file:///svn/tokudb@1478 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-02 20:33:51 +00:00
Bradley C. Kuszmaul
b8eb150375 Get rid of gratuitous printing
git-svn-id: file:///svn/tokudb@1473 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-02 16:43:11 +00:00
Rich Prohaska
c83bd8f03d stubs waiting for locking to be implemented. addresses #230
git-svn-id: file:///svn/tokudb@1467 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-02 16:00:18 +00:00
Rich Prohaska
22fae76068 add flags to db.h for amazon.com. closes #239
git-svn-id: file:///svn/tokudb@1466 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-02 15:54:00 +00:00
Bradley C. Kuszmaul
f8078edf32 create rule for make clean at top level. (Getting ready to try a branch for the PMA-instead-of-hash-table experiment. Addresses #128.
git-svn-id: file:///svn/tokudb@1462 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-02 11:37:16 +00:00
Bradley C. Kuszmaul
aba273b645 Work on recovery bug. Addresses #27.
git-svn-id: file:///svn/tokudb@1461 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-02 11:34:49 +00:00
Rich Prohaska
5fcadb2879 send delete cmds to both children when a nonleaf node expands. closes #201
git-svn-id: file:///svn/tokudb@1443 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-31 17:30:19 +00:00
Rich Prohaska
8fb2191a9c add test case for BRT_DELETE dup. addresses #201
git-svn-id: file:///svn/tokudb@1442 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-31 16:57:25 +00:00
Rich Prohaska
b4d45cd7a8 add DbEnv::set_errcall closes #228
git-svn-id: file:///svn/tokudb@1441 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-31 15:00:07 +00:00
Rich Prohaska
14830de63e add Db::set_dup_compare closes #236
git-svn-id: file:///svn/tokudb@1440 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-31 14:04:30 +00:00
Rich Prohaska
cd8355df8a add DbTxn::abort. closes #232
git-svn-id: file:///svn/tokudb@1439 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-31 13:27:49 +00:00
Rich Prohaska
07424a4c64 add Db::pget addresses #235
git-svn-id: file:///svn/tokudb@1432 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-31 01:52:33 +00:00
Rich Prohaska
7aa2cb58c4 test Db::associate closes #226 closes #234
git-svn-id: file:///svn/tokudb@1431 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-30 16:46:07 +00:00
Rich Prohaska
0b0d470226 add Dbc::pget addresses #234
git-svn-id: file:///svn/tokudb@1430 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-30 14:47:13 +00:00
Rich Prohaska
7628890fe8 test Db::associate addresses #226
git-svn-id: file:///svn/tokudb@1429 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-30 14:17:11 +00:00
Rich Prohaska
5fa3b1621e fix 32 bit arch addresses #223
git-svn-id: file:///svn/tokudb@1422 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-30 02:39:38 +00:00
Rich Prohaska
3296a92f9c addresses #223
git-svn-id: file:///svn/tokudb@1421 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-29 23:21:53 +00:00
Rich Prohaska
ebc4d21a8f addresses #223
git-svn-id: file:///svn/tokudb@1420 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-29 22:25:14 +00:00
Rich Prohaska
d40c455ca8 addresses #223
git-svn-id: file:///svn/tokudb@1419 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-29 22:21:12 +00:00
Bradley C. Kuszmaul
52c0ac074f Turn on -O2 again
git-svn-id: file:///svn/tokudb@1418 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-29 19:30:29 +00:00
Bradley C. Kuszmaul
f5985643c2 Improve recovery. Addresses #27.
git-svn-id: file:///svn/tokudb@1417 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-29 19:27:01 +00:00
Rich Prohaska
205a72c987 fix the DB_ENV->set_errcall prototype. closes #225
git-svn-id: file:///svn/tokudb@1416 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-29 19:14:19 +00:00
Rich Prohaska
c4c735eeee addresses #225
git-svn-id: file:///svn/tokudb@1415 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-29 18:43:15 +00:00
Rich Prohaska
1b8efeee8b addresses #77
git-svn-id: file:///svn/tokudb@1414 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-29 18:33:25 +00:00
Rich Prohaska
172092ef8f add DbEnv::set_flags addresses #229
git-svn-id: file:///svn/tokudb@1413 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-29 17:59:20 +00:00
Rich Prohaska
0c298aadf1 close and delete private DbEnv after the Db is closed. closes #233
git-svn-id: file:///svn/tokudb@1412 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-29 16:27:50 +00:00
Rich Prohaska
86b5837560 test case for double DbEnv delete. addresses #233
git-svn-id: file:///svn/tokudb@1411 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-29 16:21:58 +00:00
Bradley C. Kuszmaul
3dc8289b6a Make the cxx callback conversion work. Addresses #226.
git-svn-id: file:///svn/tokudb@1404 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-28 17:39:49 +00:00
Rich Prohaska
f3a8729ed4 test the Dbc::del method. closes #227
git-svn-id: file:///svn/tokudb@1397 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-28 02:06:54 +00:00
Rich Prohaska
78e19beb7a another Db::associate step. addresses #226
git-svn-id: file:///svn/tokudb@1396 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-27 22:30:29 +00:00
Rich Prohaska
c8232e91a7 some progess on Db::associate. addresses #226
git-svn-id: file:///svn/tokudb@1395 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-27 22:10:59 +00:00
Rich Prohaska
b4d0b55930 implement Dbc::del addresses #227
git-svn-id: file:///svn/tokudb@1394 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-27 21:37:04 +00:00
Rich Prohaska
bbc186797b fix the get_cachesize function prototype. addresses #223
git-svn-id: file:///svn/tokudb@1377 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-27 03:23:46 +00:00
Bradley C. Kuszmaul
2dd205aec4 a bug in the pma split code: The thisnodename was coming out wrong inside a pma
git-svn-id: file:///svn/tokudb@1367 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-26 16:52:55 +00:00
Rich Prohaska
8f6e996070 build with bdb 4.6
git-svn-id: file:///svn/tokudb@1363 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-26 13:49:47 +00:00
Rich Prohaska
f71cc3bb2b make it work the 1st time. addresses #133
git-svn-id: file:///svn/tokudb@1352 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-25 17:04:07 +00:00
Rich Prohaska
6d935488c5 make "make check" rerunable
git-svn-id: file:///svn/tokudb@1347 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-24 22:20:12 +00:00
Bradley C. Kuszmaul
019c9f984c Fix uninitialized counter. Fixes #221.
git-svn-id: file:///svn/tokudb@1341 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-23 12:12:13 +00:00
Bradley C. Kuszmaul
7e25f30c39 Made sure that get and work do something useful through the c++ interface. Fixes #220.
git-svn-id: file:///svn/tokudb@1336 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-23 01:37:14 +00:00