Bradley C. Kuszmaul
81bbb47406
Add set_errfile to samples. Addresses #72 .
...
git-svn-id: file:///svn/tokudb@1250 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-19 20:52:40 +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
fb63c1e713
Add api_internal to other versions. Addresses #205 .
...
git-svn-id: file:///svn/tokudb@1237 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-19 16:54:03 +00:00
Bradley C. Kuszmaul
10c1d7583f
Add api_internal to other versions. Addresses #205 .
...
git-svn-id: file:///svn/tokudb@1236 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-19 16:52:49 +00:00
Rich Prohaska
615aa1ca25
disabled in the code until it works. addresses #187
...
git-svn-id: file:///svn/tokudb@1221 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 21:44:14 +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
Rich Prohaska
a98f0cd111
change the db->put to require flags != 0. closes #180
...
git-svn-id: file:///svn/tokudb@1217 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 20:15:01 +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
6f7605553c
Improve accuracy of put documentation. Addresses #52 .
...
git-svn-id: file:///svn/tokudb@1215 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 19:50:09 +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
94777979ee
Add api1_internal to DB_TXN (used in c++). Addresses #197 .
...
git-svn-id: file:///svn/tokudb@1213 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 19:35:26 +00:00
Bradley C. Kuszmaul
eb6a1dac20
Add api1_internal to DB_TXN (used in c++). Addresses #197 .
...
git-svn-id: file:///svn/tokudb@1212 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 19:35:09 +00:00
Bradley C. Kuszmaul
5e1b3e9814
Add api1_internal to DB_TXN (used in c++). Addresses #197 .
...
git-svn-id: file:///svn/tokudb@1211 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 19:29:33 +00:00
Bradley C. Kuszmaul
2421f980dd
Add api1_internal to DB_TXN (used in c++). Addresses #197 .
...
git-svn-id: file:///svn/tokudb@1210 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 19:28:53 +00:00
Bradley C. Kuszmaul
b2d393d8b6
Add api1_internal to env (used in c++). Addresses #197 .
...
git-svn-id: file:///svn/tokudb@1207 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 19:02:45 +00:00
Bradley C. Kuszmaul
01862ee902
Add api1_internal to env (used in c++). Addresses #197 .
...
git-svn-id: file:///svn/tokudb@1206 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 19:01:58 +00:00
Rich Prohaska
a7970a58d8
fix the mem leak. closes #199
...
git-svn-id: file:///svn/tokudb@1205 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 18:38:26 +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
Rich Prohaska
8ba5e8f89b
multi-bdb update. addresses #197
...
git-svn-id: file:///svn/tokudb@1202 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 18:29:32 +00:00
Bradley C. Kuszmaul
96a0bee699
Add db_dump.cpp to the cxx tests
...
git-svn-id: file:///svn/tokudb@1201 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 18:20:10 +00:00
Rich Prohaska
32e57a7811
shorten the tests. addresses #198
...
git-svn-id: file:///svn/tokudb@1199 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 17:04:36 +00:00
Bradley C. Kuszmaul
9bd83f9f13
db_create compiles and runs. Addresses #197 .
...
git-svn-id: file:///svn/tokudb@1198 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 16:43:22 +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
Rich Prohaska
ad106f2713
change the db-benchmark-test/Makefile to allow C or C++ compilation using the C interface
...
add db-benchmark-test-cxx to use the C++ interface
git-svn-id: file:///svn/tokudb@1195 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 16:24:53 +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
b817a0e06c
Add api_internal to db.h. Addresses #197 .
...
git-svn-id: file:///svn/tokudb@1193 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 14:51:09 +00:00
Bradley C. Kuszmaul
8b0e8a6291
Save samples with api_internal. Addresses #197 .
...
git-svn-id: file:///svn/tokudb@1192 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 14:50:11 +00:00
Bradley C. Kuszmaul
0947f89077
Add api_internal to db. Addresses #197 .
...
git-svn-id: file:///svn/tokudb@1190 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 14:43:37 +00:00
Rich Prohaska
ea16495aa8
handle cursor DB_SET into the right subtree. closes #186
...
git-svn-id: file:///svn/tokudb@1187 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 12:48:14 +00:00
Rich Prohaska
ccfa1a651a
remove debug code
...
git-svn-id: file:///svn/tokudb@1185 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 11:57:59 +00:00
Yoni Fogel
58fd7e37fc
Additional tests for c_put
...
Show that the key parameter is not only ignored, but never accessed nor written to
when flags == DB_CURRENT
Closes #15
Removed comments asking for this test.
git-svn-id: file:///svn/tokudb@1183 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 02:37:12 +00:00
Yoni Fogel
f945194b94
Added tests for c_put
...
Addresses #15
git-svn-id: file:///svn/tokudb@1181 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 02:23:29 +00:00
Yoni Fogel
e7d13a1a73
Added a comment to c_put
...
git-svn-id: file:///svn/tokudb@1180 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 02:21:34 +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
60d70631a3
More fiddling around with c++. Addresses #197 .
...
git-svn-id: file:///svn/tokudb@1178 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 01:44:22 +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
Bradley C. Kuszmaul
bf69b71745
test1 compiles
...
git-svn-id: file:///svn/tokudb@1176 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 00:57:28 +00:00
Bradley C. Kuszmaul
a58dc6af93
Start trying to write a c++ interface. Addresses #197 .
...
git-svn-id: file:///svn/tokudb@1175 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-17 22:00:54 +00:00
Bradley C. Kuszmaul
d7319d8d19
texify DB->open man page. Addresses #52 .
...
git-svn-id: file:///svn/tokudb@1174 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-17 22:00:26 +00:00
Rich Prohaska
feeff730d7
test for cursor stickyness. addresses #196
...
git-svn-id: file:///svn/tokudb@1173 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-17 21:34:58 +00:00
Bradley C. Kuszmaul
0b8f56fa9c
texify DB->open man page. Addresses #52 .
...
git-svn-id: file:///svn/tokudb@1172 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-17 21:28:44 +00:00
Bradley C. Kuszmaul
d99cd30548
Work on DB->put man page. Addresses #52 .
...
git-svn-id: file:///svn/tokudb@1171 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-17 18:59:55 +00:00
Bradley C. Kuszmaul
8390854489
Start moving tdb_put to texi. Addresses #52 .
...
git-svn-id: file:///svn/tokudb@1169 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-17 18:20:12 +00:00
Bradley C. Kuszmaul
95baba7ef8
Clarify DB_DELETE_ANY. Addresses #52 .
...
git-svn-id: file:///svn/tokudb@1168 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-17 18:18:25 +00:00
Bradley C. Kuszmaul
aaa0b820bd
Convert tdb_del to texi. Addresses #52 .
...
git-svn-id: file:///svn/tokudb@1167 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-17 17:57:46 +00:00
Yoni Fogel
1f6fb8627f
Addresses #180
...
test_db_assert_einval.c renamed to test_db_get_put_flags.c
git-svn-id: file:///svn/tokudb@1166 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-17 17:53:35 +00:00
Yoni Fogel
14ff121e79
Addresses #180
...
Tests for DB_GET_BOTH with DUPSORT and no DUPSORT.
git-svn-id: file:///svn/tokudb@1165 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-17 17:53:02 +00:00
Yoni Fogel
1c918c44c8
addresses #180
...
Support DB_GET_BOTH for dbs without DUPSORT.
Also modified test_db_assert_einval to validate the changes.
git-svn-id: file:///svn/tokudb@1164 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-17 17:46:39 +00:00
Yoni Fogel
daaf8751e3
Replaced some BDB api call parameter checking asserts
...
with return EINVAL
Addresses #194
git-svn-id: file:///svn/tokudb@1163 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-17 17:38:22 +00:00
Bradley C. Kuszmaul
3a6185478c
Remove tdb_create.3 (adding it to .junk) since the texi man pages are starting to get ready to go. Addresse #52 .
...
git-svn-id: file:///svn/tokudb@1162 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-17 17:24:46 +00:00