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
Rich Prohaska
3c948cdeac
update the db.h for 4.4.20. addresses #49
...
git-svn-id: file:///svn/tokudb@771 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-27 20:36:02 +00:00
Yoni Fogel
2f633ea10a
Added DB_USE_ENVIRON and DB_USE_ENVIRON_ROOT
...
git-svn-id: file:///svn/tokudb@757 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-26 17:24:43 +00:00
Yoni Fogel
f978d2859e
Modified tokudb to work with test_db_already_exists
...
git-svn-id: file:///svn/tokudb@643 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 16:30:50 +00:00
Rich Prohaska
0e463512cb
add bdb 4.4 and 4.6
...
git-svn-id: file:///svn/tokudb@563 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-15 14:09:40 +00:00
Bradley C. Kuszmaul
fdafd9a864
up
...
git-svn-id: file:///svn/tokudb@515 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-14 17:50:28 +00:00
Bradley C. Kuszmaul
657c57b44a
Do subtransactions properly (without an fsync)
...
git-svn-id: file:///svn/tokudb@499 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-19 17:05:10 +00:00
Bradley C. Kuszmaul
b9b6b279b3
Add stdio.h to db.h
...
git-svn-id: file:///svn/tokudb@461 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 02:08:49 +00:00
Bradley C. Kuszmaul
62d8cb7fb2
Add verify
...
git-svn-id: file:///svn/tokudb@458 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 01:58:01 +00:00
Bradley C. Kuszmaul
5f5d398846
Run 64-bit for verify
...
git-svn-id: file:///svn/tokudb@457 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 01:56:04 +00:00
Bradley C. Kuszmaul
b5bb270c3c
Add verify
...
git-svn-id: file:///svn/tokudb@456 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 01:55:07 +00:00