Commit graph

718 commits

Author SHA1 Message Date
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
Bradley C. Kuszmaul
ad0a6695b5 add Db::del and Db::get and check that their exceptions are OK. Fixes #219.
git-svn-id: file:///svn/tokudb@1335 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-23 01:25:54 +00:00
Bradley C. Kuszmaul
d2667c2627 c++ interface is implemented (up to a point) and every method that can raise an exception is tested in exceptions.cpp. Fixes #197, #215.
git-svn-id: file:///svn/tokudb@1334 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-23 01:09:09 +00:00
Bradley C. Kuszmaul
8c4ffadd98 Quiet down the newbrt tests. Addresses #13.
git-svn-id: file:///svn/tokudb@1333 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-22 23:12:40 +00:00
Bradley C. Kuszmaul
179253d997 Use toku_malloc, not malloc. Fixes #169.
git-svn-id: file:///svn/tokudb@1332 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-22 22:18:50 +00:00
Bradley C. Kuszmaul
10fb98e4da Quiet down the src/tests. Addresses #13.
git-svn-id: file:///svn/tokudb@1331 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-22 20:57:07 +00:00
Bradley C. Kuszmaul
3439a6a2b8 Quiet down some of the newbrt tests. Addresses #13.
git-svn-id: file:///svn/tokudb@1330 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-22 20:56:20 +00:00
Bradley C. Kuszmaul
f6688f5bb5 Add the exceptions tests. Addresses #215.
git-svn-id: file:///svn/tokudb@1329 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-22 20:28:13 +00:00
Bradley C. Kuszmaul
c0d629c7e9 Make test_db_assoc3 work with -v. Make it run with vgrind. Fixes #163.
git-svn-id: file:///svn/tokudb@1328 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-22 18:46:45 +00:00
Bradley C. Kuszmaul
161e70ed01 Get rid of various memory leaks in the cxx (and test cxx exceptions) Addresses #215.
git-svn-id: file:///svn/tokudb@1327 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-22 18:40:22 +00:00
Rich Prohaska
f6e80ed817 fix build for bdb 4.5 addresses #133
git-svn-id: file:///svn/tokudb@1326 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-22 17:06:40 +00:00
Bradley C. Kuszmaul
8bf12e1bc3 db_dump_e.cpp test runs. Addresses #215. Fixes #216.
git-svn-id: file:///svn/tokudb@1321 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 20:39:53 +00:00
Bradley C. Kuszmaul
9d70992a1d Clean up the valgrind memory leaks (caused by lots of subtle c++ bugs. Addresse #215
git-svn-id: file:///svn/tokudb@1320 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 19:59:31 +00:00
Bradley C. Kuszmaul
9be3ccff86 Add mgrp to dbtxn. Addresses #215.
git-svn-id: file:///svn/tokudb@1319 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 15:47:42 +00:00
Bradley C. Kuszmaul
1a7fc701c5 Add mgrp to dbtxn. Addresses #215.
git-svn-id: file:///svn/tokudb@1318 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 15:45:14 +00:00
Bradley C. Kuszmaul
512b701387 Add mgrp to dbtxn. Addresses #215.
git-svn-id: file:///svn/tokudb@1317 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 15:44:49 +00:00
Bradley C. Kuszmaul
6198e6f5c5 add exceptions to dbc.cpp. Addresses #215.
git-svn-id: file:///svn/tokudb@1316 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 15:32:21 +00:00
Bradley C. Kuszmaul
5f9cb1590b Add {{DB*dbp}} to {{{DBC}}}. Addresses #215.
git-svn-id: file:///svn/tokudb@1315 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 15:20:16 +00:00
Bradley C. Kuszmaul
a1dbfac439 Add {{DB*dbp}} to {{{DBC}}}. Addresses #215.
git-svn-id: file:///svn/tokudb@1314 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 15:16:03 +00:00
Bradley C. Kuszmaul
9ab8712874 forgot to check in cxx header. Addresses #215.
git-svn-id: file:///svn/tokudb@1313 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 15:09:39 +00:00
Rich Prohaska
96be11636f build on debian432.tokutek.com addresses #133
git-svn-id: file:///svn/tokudb@1312 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 14:20:22 +00:00
Bradley C. Kuszmaul
433c96481f Fix up memory issues in exceptions. Addresses #215.
git-svn-id: file:///svn/tokudb@1311 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 11:07:29 +00:00
Bradley C. Kuszmaul
95ba9175ef Add deadlock exception. Addresses #215.
git-svn-id: file:///svn/tokudb@1310 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 10:23:56 +00:00
Yoni Fogel
4c90d3a8d0 DB_ENV->set_data_dir cleaned up and tightened
Fixes a bug where I forgot to set the reallocced memory.
Addresses #42

git-svn-id: file:///svn/tokudb@1305 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 06:18:16 +00:00