Rich Prohaska
8f6e996070
build with bdb 4.6
...
git-svn-id: file:///svn/tokudb@1363 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-26 13:49:47 +00:00
Bradley C. Kuszmaul
9be3ccff86
Add mgrp to dbtxn. Addresses #215 .
...
git-svn-id: file:///svn/tokudb@1319 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 15:47:42 +00:00
Bradley C. Kuszmaul
1a7fc701c5
Add mgrp to dbtxn. Addresses #215 .
...
git-svn-id: file:///svn/tokudb@1318 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 15:45:14 +00:00
Bradley C. Kuszmaul
512b701387
Add mgrp to dbtxn. Addresses #215 .
...
git-svn-id: file:///svn/tokudb@1317 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 15:44:49 +00:00
Bradley C. Kuszmaul
6198e6f5c5
add exceptions to dbc.cpp. Addresses #215 .
...
git-svn-id: file:///svn/tokudb@1316 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 15:32:21 +00:00
Bradley C. Kuszmaul
5f9cb1590b
Add {{DB*dbp}} to {{{DBC}}}. Addresses #215 .
...
git-svn-id: file:///svn/tokudb@1315 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 15:20:16 +00:00
Bradley C. Kuszmaul
a1dbfac439
Add {{DB*dbp}} to {{{DBC}}}. Addresses #215 .
...
git-svn-id: file:///svn/tokudb@1314 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 15:16:03 +00:00
Rich Prohaska
96be11636f
build on debian432.tokutek.com addresses #133
...
git-svn-id: file:///svn/tokudb@1312 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-21 14:20:22 +00:00
Bradley C. Kuszmaul
eae8d4f12b
Make a 4.3 header. Addresses #210 .
...
git-svn-id: file:///svn/tokudb@1265 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-19 23:17:27 +00:00
Bradley C. Kuszmaul
f31f24c237
Make set_errfile work. Fixes #72 .
...
git-svn-id: file:///svn/tokudb@1260 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-19 21:17:37 +00:00
Bradley C. Kuszmaul
382be29301
Add set_errfile to samples. Addresses #72 .
...
git-svn-id: file:///svn/tokudb@1259 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-19 21:13:47 +00:00
Bradley C. Kuszmaul
1169e1b546
Add set_errfile to samples. Addresses #72 .
...
git-svn-id: file:///svn/tokudb@1258 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-19 21:13:05 +00:00
Bradley C. Kuszmaul
13925e4e33
Add set_errfile to samples. Addresses #72 .
...
git-svn-id: file:///svn/tokudb@1257 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-19 21:11:58 +00:00
Bradley C. Kuszmaul
c56b9efd58
Add set_errfile to samples. Addresses #72 .
...
git-svn-id: file:///svn/tokudb@1256 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-19 21:11:42 +00:00
Bradley C. Kuszmaul
6d2674c504
Add set_errfile to samples. Addresses #72 .
...
git-svn-id: file:///svn/tokudb@1254 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-19 20:55:53 +00:00
Bradley C. Kuszmaul
cf7c4505b9
Fix it up
...
git-svn-id: file:///svn/tokudb@1253 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-19 20:55:24 +00:00
Bradley C. Kuszmaul
f7ca267f00
Add set_errfile to samples. Addresses #72 .
...
git-svn-id: file:///svn/tokudb@1251 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-19 20:53:32 +00:00
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
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
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
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
d984283041
implement and test cursor->get_both_range. addresses #187
...
git-svn-id: file:///svn/tokudb@1152 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-17 13:48:20 +00:00
Rich Prohaska
c380755d34
define DB_YESOVERWRITE. addresses #180
...
git-svn-id: file:///svn/tokudb@1133 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-14 14:26:22 +00:00
Yoni Fogel
e2c4765562
Other dbs.h for DB_KEYFIRST, DB_KEYLAST
...
git-svn-id: file:///svn/tokudb@1126 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-13 23:38:15 +00:00
Yoni Fogel
9967b13ccc
Added DB_KEYFIRST and DB_KEYLAST to db.h
...
git-svn-id: file:///svn/tokudb@1125 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-13 23:32:51 +00:00
Rich Prohaska
b8a3e92d35
add c_put. addresses #15
...
git-svn-id: file:///svn/tokudb@1122 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-13 21:41:57 +00:00
Rich Prohaska
4ebaea564a
add DB_UNKNOWN. addresses #166
...
git-svn-id: file:///svn/tokudb@1093 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-12 15:33:46 +00:00
Yoni Fogel
7331e46492
Added DB_UNKNOWN to db.h
...
You can use DB_UNKNOWN as a dbtype (as long as you don't use DB_EXCL) in dbopen,
and then it will load the flags from the file.
tokudb_dump
Now supports duplicates/sorted duplicates.
tokudb_load will give a warning about any duplicate duplicate loads
but will continue with the rest of the data.
Closes #148
Closes #166
git-svn-id: file:///svn/tokudb@1086 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-11 19:34:21 +00:00
Rich Prohaska
feb39edc30
add get_flags. addresses #166
...
git-svn-id: file:///svn/tokudb@1084 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-11 18:52:12 +00:00
Rich Prohaska
64cc1bceee
get working with multiple BDB releases. addresses #133
...
git-svn-id: file:///svn/tokudb@1078 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-11 14:53:18 +00:00
Yoni Fogel
012f706b67
DB_DBT_(MALLOC|REALOC|USERMEM) now behave the same as BDB.
...
We never touch ulen. If DB_DBT_USERMEM and ulen is too small, we set size, (do not write anything)
and return DB_BUFFER_SMALL.
This includes test_db_dbt_mem_behavior.c
Closes #146
git-svn-id: file:///svn/tokudb@1034 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-10 17:04:02 +00:00
Rich Prohaska
3258fa2ec1
define DB_NODUPDATA to get our bdb tests to compile. closes #142
...
git-svn-id: file:///svn/tokudb@999 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-07 14:57:13 +00:00
Rich Prohaska
6a762592d1
add c_pget to db.h addresses #107
...
git-svn-id: file:///svn/tokudb@942 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-05 19:26:19 +00:00
Rich Prohaska
8eb4977f44
add bdb-4.5. addresses #104
...
git-svn-id: file:///svn/tokudb@898 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-03 18:44:41 +00:00
Yoni Fogel
68e02ebb0c
{{{
...
Added DB_SECONDARY_BAD to db.h
Added DB_CURRENT to db.h
DB->get (now returns DB_SECONDARY_BAD when appropriate)
DB->pget (now returns DB_SECONDARY_BAD when appropriate)
** DBC->c_get (works with associate)
** DBC->c_pget (added function, works with associate, but not in header yet)
** *DBC->c_del (works with associate)
*DB->del (works with associate)
* May not work properly with duplicates.
* Question: Do I have to use
search_val.flags = DB_DBT_MALLOC;
and
free(search_val.data);
** Requires DB_CURRENT to be supported in toku_brt_cursor_get
}}}
addresses #48
git-svn-id: file:///svn/tokudb@890 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-03 05:01:43 +00:00
Bradley C. Kuszmaul
f44eebe2ae
Make bdb 4.4 be the default for buildheader, and add DB_DBT_APPMALLOC and DB_DBT_MULITPLE. Fixes #96 , #97 .
...
git-svn-id: file:///svn/tokudb@846 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-30 05:04:06 +00:00
Bradley C. Kuszmaul
f57cad96ef
Add copyrights using #ident in the buildheader and db-benchmark-test dirs. Addresses #54 .
...
git-svn-id: file:///svn/tokudb@819 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-29 14:27:03 +00:00
Rich Prohaska
14bba37fdf
add pget, TOKUDB to db.h. closes #69 . closes #70
...
git-svn-id: file:///svn/tokudb@805 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 20:04:35 +00:00
Bradley C. Kuszmaul
bafd365340
Build the sample offsets on a 64-bit machine (including db->associate). Addresse #48 .
...
git-svn-id: file:///svn/tokudb@777 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-27 22:32:21 +00:00
Bradley C. Kuszmaul
b1506c236c
Add db->associate to the set of methods we put into db.h. Addresses #48 .
...
git-svn-id: file:///svn/tokudb@776 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-27 22:28:09 +00:00