Commit graph

21 commits

Author SHA1 Message Date
Rich Prohaska
a19234e8d1 merge intel c++ changes from changeset 6813. addresses #1185
git-svn-id: file:///svn/toku/tokudb.1195@7730 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:25 -04:00
Rich Prohaska
0c74e90477 set_lk_max_locks already added to the c++ interface. delete the extra junk. close #230
git-svn-id: file:///svn/tokudb@2468 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-29 18:30:44 +00:00
Vincenzo Liberatore
97e1ef272f Addresses #378
Propagate refactored error handling to C++ API.

git-svn-id: file:///svn/tokudb@2308 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-15 21:36:19 +00:00
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
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
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
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
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
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
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
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
10c82d9f0c DbEnv.err
DbEnv.set_errfile

toku_db_env_err now writes to the file from set_errfile
toku_db_env_err calls toku_db_env_err_vararg

Fixed DbException.set_env, and callers of it.
Modified test1 to not use exceptions, since the test tried to use return codes.

Closes #214
Addresses #197
Addresses #215

git-svn-id: file:///svn/tokudb@1303 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 05:57:33 +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
d051561bcd Added c++ functions:
DbEnv.set_data_dir, DbEnv.set_errpfx

Added tests for them.
Addresses #197

git-svn-id: file:///svn/tokudb@1290 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-20 19:43:42 +00:00
Bradley C. Kuszmaul
c788805fd3 Make cxx now works in bdb 4.5. Fixes #205.
git-svn-id: file:///svn/tokudb@1238 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-19 16:57:11 +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
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