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
9858fb38ef
Added DB_LOCK_NOTGRANTED
...
Addresses #290
git-svn-id: file:///svn/tokudb@1782 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-21 23:59:04 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
2c41f5609a
dbc
...
git-svn-id: file:///svn/tokudb@256 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 19:11:52 +00:00
Bradley C. Kuszmaul
645a93f3cb
txn
...
git-svn-id: file:///svn/tokudb@254 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 19:08:41 +00:00
Bradley C. Kuszmaul
915785924e
Fiddle around
...
git-svn-id: file:///svn/tokudb@252 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 18:59:12 +00:00
Bradley C. Kuszmaul
555f77c7db
Get DBT to work
...
git-svn-id: file:///svn/tokudb@251 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 17:52:04 +00:00
Bradley C. Kuszmaul
356e2cb4c9
Fix where the cplusplus headers go
...
git-svn-id: file:///svn/tokudb@244 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-04 21:40:11 +00:00
Bradley C. Kuszmaul
e5a90933be
Now we can compile stuff on 32 and 64 systems
...
git-svn-id: file:///svn/tokudb@243 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-04 21:39:03 +00:00
Bradley C. Kuszmaul
78b48fa835
Non-portable implementation
...
git-svn-id: file:///svn/tokudb@239 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-04 20:59:50 +00:00