Commit graph

4943 commits

Author SHA1 Message Date
Rich Prohaska
7ac29707b1 cursor set key and set range
git-svn-id: file:///svn/tokudb@284 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-10 17:53:30 +00:00
Rich Prohaska
765ea049fd add brt cursor prev feature and test cases
git-svn-id: file:///svn/tokudb@282 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-07 20:25:54 +00:00
Rich Prohaska
d2858adb09 name change
git-svn-id: file:///svn/tokudb@281 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-07 13:51:47 +00:00
Rich Prohaska
5bbddb61f5 change test name to already_there
git-svn-id: file:///svn/tokudb@280 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-07 13:34:17 +00:00
Rich Prohaska
c10712dee6 Change to implement delete by key. A BRT_DELETE command is injected into the
tree.  It replaces any INSERT or DELETE command with the same key at all
interior nodes.  It is translated into a PMA delete operation at a leaf
node.  

The database file format was changed for the contents of interior node
buffers to include a 1 byte type field.  There are currently 2 types:
BRT_INSERT and BRT_DELETE.




git-svn-id: file:///svn/tokudb@278 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-06 21:36:45 +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
d7bc137217 Fix spelling error
git-svn-id: file:///svn/tokudb@274 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-06 19:39:51 +00:00
Rich Prohaska
87a0cffe5d fix pma double delete and test pma double insert
git-svn-id: file:///svn/tokudb@272 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-06 17:29:45 +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
Rich Prohaska
ce9eba64d4 get KEY_VALUE_OVERHEAD from brt-internal.h
git-svn-id: file:///svn/tokudb@263 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 20:09:43 +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
Bradley C. Kuszmaul
4b26069914 dbc 32
git-svn-id: file:///svn/tokudb@257 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 19:12:29 +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
1b0a4df991 Save 64
git-svn-id: file:///svn/tokudb@255 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 19:08: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
33bbdbc6a0 Save 64
git-svn-id: file:///svn/tokudb@253 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 18:59:21 +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
47de66f94e Save 64 bit sample
git-svn-id: file:///svn/tokudb@250 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 17:47:27 +00:00
Bradley C. Kuszmaul
e262e68af0 Get it to work right
git-svn-id: file:///svn/tokudb@249 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 17:47:14 +00:00
Bradley C. Kuszmaul
e3cd1f9826 Do dbt
git-svn-id: file:///svn/tokudb@247 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 17:40:16 +00:00
Rich Prohaska
0b19e86a34 make deleted kv pairs invisible
git-svn-id: file:///svn/tokudb@246 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 13:52:52 +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
6a13ec52e6 Add sample_offsets_64.h
git-svn-id: file:///svn/tokudb@242 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-04 21:19:18 +00:00
Bradley C. Kuszmaul
948986c11e Create sample offsets and test on a 32-bit machine
git-svn-id: file:///svn/tokudb@241 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-04 21:18:09 +00:00
Bradley C. Kuszmaul
801060c7a5 Create sample_offsets
git-svn-id: file:///svn/tokudb@240 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-04 21:01:41 +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
Rich Prohaska
808951d65d pma delete under cursor changes
git-svn-id: file:///svn/tokudb@236 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-04 13:51:12 +00:00
Rich Prohaska
acd68baef4 implement the rebalance and shrink after pma deletion
git-svn-id: file:///svn/tokudb@220 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-30 15:15:14 +00:00
Rich Prohaska
060f521e03 need to watch the long boundary
git-svn-id: file:///svn/tokudb@219 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-30 15:12:55 +00:00
Rich Prohaska
7490c63f99 convert really long command line arg
git-svn-id: file:///svn/tokudb@218 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-30 15:05:11 +00:00
Rich Prohaska
46abdc1a5c add empty tree test cases
git-svn-id: file:///svn/tokudb@215 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-27 14:11:19 +00:00
Rich Prohaska
075df0ba24 remove some debug printfs
git-svn-id: file:///svn/tokudb@214 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-27 12:08:12 +00:00
Rich Prohaska
9f70fff85d try multiple brt fanout's
git-svn-id: file:///svn/tokudb@197 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-25 21:58:25 +00:00
Rich Prohaska
4a0ff58aa7 remove cursor debug tracing
git-svn-id: file:///svn/tokudb@193 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-24 20:00:25 +00:00
Bradley C. Kuszmaul
8b01b4d7a2 One-per-line in the makefile BINS
git-svn-id: file:///svn/tokudb@192 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-24 18:38:43 +00:00
Bradley C. Kuszmaul
611a2249ec One-per-line in the makefile BINS
git-svn-id: file:///svn/tokudb@191 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-24 18:38:11 +00:00
Bradley C. Kuszmaul
29fe7fa5d6 Rename the files so that the various tests can run concurrently
git-svn-id: file:///svn/tokudb@190 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-24 18:36:02 +00:00