Commit graph

116 commits

Author SHA1 Message Date
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
Bradley C. Kuszmaul
5a6ad716e0 add db_version
git-svn-id: file:///svn/tokudb@452 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 14:04:10 +00:00
Bradley C. Kuszmaul
2b1804bc3d Deal with version numbers
git-svn-id: file:///svn/tokudb@450 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 13:56:25 +00:00
Bradley C. Kuszmaul
dbb558673d Save 64-bit samples
git-svn-id: file:///svn/tokudb@449 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 12:47:57 +00:00
Bradley C. Kuszmaul
32c7ffb7d4 Make a clean rule
git-svn-id: file:///svn/tokudb@448 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 12:47:32 +00:00
Bradley C. Kuszmaul
d5c992abde Fix include
git-svn-id: file:///svn/tokudb@447 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 12:45:44 +00:00
Bradley C. Kuszmaul
1348ca7937 Save new sample offsets
git-svn-id: file:///svn/tokudb@446 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 12:40:03 +00:00
Bradley C. Kuszmaul
dfba18cee6 Fixup
git-svn-id: file:///svn/tokudb@438 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-11 12:55:26 +00:00
Bradley C. Kuszmaul
ada8d57b8c Up
git-svn-id: file:///svn/tokudb@427 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 22:24:25 +00:00
Bradley C. Kuszmaul
6e4b1a5ab3 Update
git-svn-id: file:///svn/tokudb@425 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 22:03:24 +00:00
Bradley C. Kuszmaul
e8433e6d55 Fixup
git-svn-id: file:///svn/tokudb@424 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 22:02:25 +00:00
Bradley C. Kuszmaul
02ae6e1918 Fixup
git-svn-id: file:///svn/tokudb@423 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 22:00:34 +00:00
Bradley C. Kuszmaul
0f8dc9a04d Run 64
git-svn-id: file:///svn/tokudb@422 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 21:50:41 +00:00
Bradley C. Kuszmaul
675fe24587 Fix up the headers to be 4.3 compatible
git-svn-id: file:///svn/tokudb@421 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 21:48:48 +00:00
Bradley C. Kuszmaul
710cf343a3 Merge logging
git-svn-id: file:///svn/tokudb@371 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-28 17:11:22 +00:00
Rich Prohaska
065b55909e add DB_VERSION_MAJOR/MINOR/PATCH
add db_env_create def
add db_create def



git-svn-id: file:///svn/tokudb@324 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-19 18:34:17 +00:00
Bradley C. Kuszmaul
de47452c10 use the new db.h
git-svn-id: file:///svn/tokudb@276 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-06 20:13:56 +00:00
Bradley C. Kuszmaul
ea6445a469 ./db.h gives the same offsets at the original db.h
git-svn-id: file:///svn/tokudb@271 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-06 14:18:08 +00:00
Bradley C. Kuszmaul
b82dc051f7 Add in the typedefs
git-svn-id: file:///svn/tokudb@270 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 20:32:12 +00:00
Bradley C. Kuszmaul
35f14862fc Alphabetize
git-svn-id: file:///svn/tokudb@269 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 20:28:58 +00:00
Bradley C. Kuszmaul
bede216c86 Alphabetize
git-svn-id: file:///svn/tokudb@268 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 20:26:46 +00:00
Bradley C. Kuszmaul
299b306b46 64
git-svn-id: file:///svn/tokudb@267 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 20:24:24 +00:00
Bradley C. Kuszmaul
9b7f56d33f txn_stat btree-stat
git-svn-id: file:///svn/tokudb@266 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 20:24:17 +00:00
Bradley C. Kuszmaul
383fbeda42 64
git-svn-id: file:///svn/tokudb@265 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 20:16:37 +00:00
Bradley C. Kuszmaul
b2193274eb key_range lsn txn_active
git-svn-id: file:///svn/tokudb@264 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 20:16:26 +00:00
Bradley C. Kuszmaul
53f01d6d03 64
git-svn-id: file:///svn/tokudb@262 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 19:20:31 +00:00
Bradley C. Kuszmaul
9b32c3d5cd 32
git-svn-id: file:///svn/tokudb@261 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 19:20:25 +00:00
Bradley C. Kuszmaul
03d85f6ba1 64
git-svn-id: file:///svn/tokudb@260 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 19:16:50 +00:00
Bradley C. Kuszmaul
d4dc109407 db_env'
git-svn-id: file:///svn/tokudb@259 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 19:16:43 +00:00
Bradley C. Kuszmaul
4858f5be4c Save 64
git-svn-id: file:///svn/tokudb@258 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 19:12:35 +00:00