Commit graph

5 commits

Author SHA1 Message Date
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
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
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
Yoni Fogel
24c2e857ab Added Dbt.get_ulen and Dbt.set_ulen
Modified test1 to test new functions and some of the older ones.
Addresses #197

git-svn-id: file:///svn/tokudb@1284 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-20 18:34:33 +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
Renamed from cxx/test1.cpp (Browse further)