Commit graph

26 commits

Author SHA1 Message Date
Bradley C. Kuszmaul
3f97de8b98 Fix #2326 (cxx/check_test_get_not_found failed). close[t:2326]
git-svn-id: file:///svn/toku/tokudb@17173 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:59 -04:00
Yoni Fogel
3b42b55489 Closes #1378 Merged all changes into main.
git-svn-id: file:///svn/toku/tokudb@9507 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:41 -04: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
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
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
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
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
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
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
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
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
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
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
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
1237b38549 the exception class is implemented, and for db.cpp and dbenv.cpp it is called. Still need to do exceptions for dbc.cpp dbt.cpp txn.cpp. Addresses #215.
git-svn-id: file:///svn/tokudb@1301 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-20 23:47:44 +00:00
Yoni Fogel
67cedd5b6f Added Db.set_bt_compare and Db.remove
test1 modified to test the new features.

git-svn-id: file:///svn/tokudb@1289 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-20 19:00:35 +00:00
Bradley C. Kuszmaul
b533ea01dd Move db_cxx.h to include dir, and fix valgrind issues. Fixes #197.
git-svn-id: file:///svn/tokudb@1218 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 20:39:02 +00:00
Bradley C. Kuszmaul
683fd63c7e Get rid of memory leaks found by valgrind. Addresses #197.
git-svn-id: file:///svn/tokudb@1216 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 19:57:36 +00:00
Bradley C. Kuszmaul
a1ede89ae2 We have a basic C++ interface. I'm going to call this finished, until we find out that more is needed. Fixes #197.
git-svn-id: file:///svn/tokudb@1214 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 19:37:59 +00:00
Bradley C. Kuszmaul
4a1ff1e7ca Make db_dump work. Addresses #197.
git-svn-id: file:///svn/tokudb@1204 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 18:34:44 +00:00
Bradley C. Kuszmaul
f87b4e5d7d Make db_create work a little more under c++. Addresses #197.
git-svn-id: file:///svn/tokudb@1196 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 16:34:48 +00:00
Bradley C. Kuszmaul
37b42e21ea Make db_create work under c++. Addresses #197.
git-svn-id: file:///svn/tokudb@1194 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 16:22:21 +00:00
Bradley C. Kuszmaul
89e92ad386 More fiddling around with c++. Addresses #197.
git-svn-id: file:///svn/tokudb@1179 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 01:52:52 +00:00
Bradley C. Kuszmaul
686d25d567 More fiddling around with c++. Addresses #197.
git-svn-id: file:///svn/tokudb@1177 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 01:31:34 +00:00