Commit graph

43 commits

Author SHA1 Message Date
Bradley C. Kuszmaul
363b8d8dba Create the header needed for keyrange64. Addresses #90.
git-svn-id: file:///svn/tokudb@3934 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 13:07:25 +00:00
Bradley C. Kuszmaul
a636c8f7e3 Work on trace implementation. Addresses #701.
git-svn-id: file:///svn/tokudb@3437 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-12 09:12:22 +00:00
Yoni Fogel
09894eb3f9 Added tokudb specific error codes
git-svn-id: file:///svn/tokudb@2943 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-19 14:39:27 +00:00
Bradley C. Kuszmaul
ff674a7fb9 Add {{{db_env_set_func_fsync}}}. Addresses #499.
git-svn-id: file:///svn/tokudb@2650 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-08 21:29:27 +00:00
Bradley C. Kuszmaul
8df253ad08 Add h files. Addresses #79.
git-svn-id: file:///svn/tokudb@2626 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 20:58:04 +00:00
Bradley C. Kuszmaul
4e04fed3e6 Reduce symbol visibility. Fixes #467.
git-svn-id: file:///svn/tokudb@2541 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 11:54:58 +00:00
Yoni Fogel
2d5e34efda Added DB_AUTO_COMMIT to header
git-svn-id: file:///svn/tokudb@2251 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-11 19:55:37 +00:00
Rich Prohaska
cb2662383d add env->set/get_lk_max_locks. closes #341
git-svn-id: file:///svn/tokudb@2117 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-06 12:54:17 +00:00
Rich Prohaska
d6249b2679 implement DB_CURRENT_BINDING, an operation that returns the current cursor kv binding even if deleted. closes #274
git-svn-id: file:///svn/tokudb@2063 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-03 18:26:01 +00:00
Rich Prohaska
6e4f8f8f8e update the db.h copyrights. addresses #283
git-svn-id: file:///svn/tokudb@1887 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 16:00:41 +00:00
Rich Prohaska
c319506339 add DB_TXN_NOWAIT to fix builds
git-svn-id: file:///svn/tokudb@1796 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-22 15:42:54 +00:00
Yoni Fogel
bf30a38401 Added DB_LOCK_NOTGRANTED
Addresses #290

git-svn-id: file:///svn/tokudb@1783 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-22 00:01:01 +00:00
Rich Prohaska
a9e1d29612 add Db::fd closes #231
git-svn-id: file:///svn/tokudb@1601 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-11 14:38:49 +00:00
Rich Prohaska
184c610dbb add cursor->c_count. addresses #258
git-svn-id: file:///svn/tokudb@1586 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-10 16:29:45 +00:00
Rich Prohaska
48d957cdc4 add some more cursor ops addresses #259
git-svn-id: file:///svn/tokudb@1583 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-10 12:51:09 +00:00
Bradley C. Kuszmaul
2e243fc71d Fix the type in set_errcall. Addresses #246.
git-svn-id: file:///svn/tokudb@1533 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-07 16:30:38 +00:00
Rich Prohaska
22fae76068 add flags to db.h for amazon.com. closes #239
git-svn-id: file:///svn/tokudb@1466 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-02 15:54:00 +00:00
Rich Prohaska
205a72c987 fix the DB_ENV->set_errcall prototype. closes #225
git-svn-id: file:///svn/tokudb@1416 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-29 19:14:19 +00:00
Rich Prohaska
bbc186797b fix the get_cachesize function prototype. addresses #223
git-svn-id: file:///svn/tokudb@1377 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-27 03:23:46 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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