Commit graph

76 commits

Author SHA1 Message Date
Rich Prohaska
49e5333ad5 lock init with set_lk_max_locks. closes #371
git-svn-id: file:///svn/tokudb@2224 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-09 16:54:01 +00:00
Rich Prohaska
e30caae6fe test DB_NOTFOUND and c++ exceptions. closes #362
git-svn-id: file:///svn/tokudb@2223 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-09 15:44:34 +00:00
Rich Prohaska
84be2fa9c4 port from branch 0.4.2 to main. closes #362
git-svn-id: file:///svn/tokudb@2196 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-08 19:10:34 +00:00
Rich Prohaska
520eec42ce test a method to increase coverage of utilities using a makefile to check exit codes
git-svn-id: file:///svn/tokudb@2157 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-07 19:06:12 +00:00
Rich Prohaska
fab328719f fix the build. addresses #277
git-svn-id: file:///svn/tokudb@2156 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-07 17:17:43 +00:00
Rich Prohaska
c5c3a7a172 improve cxx coverage addresses #277
git-svn-id: file:///svn/tokudb@2154 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-07 16:45:58 +00:00
Rich Prohaska
920df11c62 addresses #333
git-svn-id: file:///svn/tokudb@2102 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-05 21:39:02 +00:00
Rich Prohaska
3f5f1b5187 dump some header flags. addresses #333
git-svn-id: file:///svn/tokudb@2101 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-05 20:42:07 +00:00
Rich Prohaska
228e655d7e test for nodup and dupsort trees in the same file. addresses #333
git-svn-id: file:///svn/tokudb@2099 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-05 19:07:46 +00:00
Rich Prohaska
afe29aba89 get tokudb_dump -s working
get tokudb_dump working with dupsort databases



git-svn-id: file:///svn/tokudb@1928 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-27 19:36:15 +00:00
Rich Prohaska
a7f529c996 enable dump of db with unknown parameters
git-svn-id: file:///svn/tokudb@1916 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-27 03:17:37 +00:00
Rich Prohaska
cba0d393c3 test cursor prev_nodup. addresses #250
git-svn-id: file:///svn/tokudb@1889 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 16:10:29 +00:00
Rich Prohaska
994e349e38 fix the c++ exceptions test of cursor delete any. addresses #250
git-svn-id: file:///svn/tokudb@1888 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 16:09:44 +00:00
Rich Prohaska
d987eff7df increase test coverage. addresses #277
git-svn-id: file:///svn/tokudb@1695 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-16 18:59:36 +00:00
Rich Prohaska
95416f09a8 add GCOV_FLAGS var to Makefiles. addresses #277
git-svn-id: file:///svn/tokudb@1693 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-16 17:41:47 +00:00
Rich Prohaska
0ac7cfc8e4 add Db::set_errpfx. closes #272
git-svn-id: file:///svn/tokudb@1654 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-14 21:30:00 +00:00
Rich Prohaska
4e3af7f169 test DbEnv::set_error_stream. addresses #255
git-svn-id: file:///svn/tokudb@1612 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-12 00:07:10 +00:00
Rich Prohaska
a5ab8916b0 implement Db::set_error_stream. closes #257
git-svn-id: file:///svn/tokudb@1610 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-11 22:37:05 +00:00
Rich Prohaska
d3239fc444 implement DbEnv::set_error_stream closes #255
git-svn-id: file:///svn/tokudb@1603 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-11 16:14:54 +00:00
Rich Prohaska
a9e1d29612 add Db::fd closes #231
git-svn-id: file:///svn/tokudb@1601 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-11 14:38:49 +00:00
Rich Prohaska
16bcec861e implement and test cursor->count. closes #258
git-svn-id: file:///svn/tokudb@1587 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-10 19:42:08 +00:00
Rich Prohaska
ec6350ea4d next_dup and prev_dup addresses #259
git-svn-id: file:///svn/tokudb@1574 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-10 01:19:13 +00:00
Rich Prohaska
24f0c202a5 try to implement cursor.count, cursor.next_nodup, and cursor.prev_nodup on top of the more basic cursor operations. addresses #258 #259
git-svn-id: file:///svn/tokudb@1573 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-09 22:26:47 +00:00
Bradley C. Kuszmaul
06dfd4f0a4 Work on transactions rollback. Also Fixes #254. Addresess #253.
git-svn-id: file:///svn/tokudb@1572 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-09 19:58:46 +00:00
Rich Prohaska
54bf735ad2 fix cxx/tests build problems. addresses #246
git-svn-id: file:///svn/tokudb@1556 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-08 17:51:24 +00:00
Rich Prohaska
fa00e966be fix the set_errcall signature. addresses #246
git-svn-id: file:///svn/tokudb@1552 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-08 12:36:08 +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
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
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
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
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
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
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
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