Rich Prohaska
3def1beae1
push commands down to in memory nodes
...
git-svn-id: file:///svn/tokudb@382 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-02 16:17:44 +00:00
Yoni Fogel
8dcc66423f
Extracted strto* wrappers to common header.
...
git-svn-id: file:///svn/tokudb@381 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-02 14:53:06 +00:00
Bradley C. Kuszmaul
cf23a48aa8
Get rid of #if 0 code
...
git-svn-id: file:///svn/tokudb@378 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-02 14:33:59 +00:00
Bradley C. Kuszmaul
578218bdfc
Minor comment changes
...
git-svn-id: file:///svn/tokudb@377 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-02 14:14:24 +00:00
Bradley C. Kuszmaul
35404cb2eb
Get db-benchmark-test to run with transactions
...
git-svn-id: file:///svn/tokudb@376 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-01 21:19:53 +00:00
Bradley C. Kuszmaul
52f712a1f6
Some errors in the transaction code
...
git-svn-id: file:///svn/tokudb@375 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-01 20:05:38 +00:00
Bradley C. Kuszmaul
7540c0468f
Add transactions to benchmark test
...
git-svn-id: file:///svn/tokudb@374 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-01 19:55:37 +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
04a16870ac
add debug prints in the new cachetable
...
git-svn-id: file:///svn/tokudb@340 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-22 15:30:29 +00:00
Yoni Fogel
02a0496152
Fixed typo for include file
...
git-svn-id: file:///svn/tokudb@339 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-22 00:28:50 +00:00
Yoni Fogel
3f51140047
Minor compatibility fixes.
...
git-svn-id: file:///svn/tokudb@338 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-22 00:28:31 +00:00
Yoni Fogel
4afad29c38
Cleaned up code,
...
made integer ranges be half open (at max),
git-svn-id: file:///svn/tokudb@337 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-21 23:33:40 +00:00
Yoni Fogel
c17fdae90b
Renamed ydb->tokudb
...
git-svn-id: file:///svn/tokudb@336 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-21 21:48:11 +00:00
Rich Prohaska
9f2640a717
fix compile time error on amd64
...
git-svn-id: file:///svn/tokudb@335 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-21 18:34:34 +00:00
Rich Prohaska
b0e3bdca20
change the cache table to act on the size of the objects rather than the number of objects stored in it
...
note that when the object size is 1, the cache table acts on the number of objects as before.
change the tree algorithms to update the object size in the cache table when the object is unpinned.
git-svn-id: file:///svn/tokudb@334 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-21 17:55:49 +00:00
Yoni Fogel
377a0688d7
Finished for the night.. may not compile or work.
...
git-svn-id: file:///svn/tokudb@328 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-20 20:15:14 +00:00
Rich Prohaska
de4cbcad05
version of benchmark-test wrapped with bdb
...
git-svn-id: file:///svn/tokudb@325 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-19 18:55:08 +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
Yoni Fogel
2a03817245
ported to gcc 4.2 for Mac os
...
git-svn-id: file:///svn/tokudb@323 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-19 17:35:16 +00:00
Yoni Fogel
b094399609
Cleaned up tests.
...
git-svn-id: file:///svn/tokudb@322 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-19 15:24:20 +00:00
Yoni Fogel
5946e5bf1f
Port to Mac OS
...
git-svn-id: file:///svn/tokudb@321 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-18 21:32:32 +00:00
Rich Prohaska
1cc81f5c98
port to linux fedora 6 i386
...
git-svn-id: file:///svn/tokudb@320 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-18 20:38:47 +00:00
Rich Prohaska
83407ae6bf
Add a dirty bit to the BRT node object. This bit is set by code
...
that modifies the state of a BRT node object. A node is unpinned with
its dirty bit passed to the cache table.
git-svn-id: file:///svn/tokudb@316 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-18 16:09:55 +00:00
Rich Prohaska
5cd0b9c759
update the clean target
...
git-svn-id: file:///svn/tokudb@315 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-17 17:36:52 +00:00
Rich Prohaska
e1df3c2935
_put sets dirty=1, get_and_pin sets dirty=0 for fetched items
...
git-svn-id: file:///svn/tokudb@314 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-17 16:23:05 +00:00
Yoni Fogel
e5497364c1
Random data generator.
...
make test will run a test on it.
The test works currently but is very ugly.
git-svn-id: file:///svn/tokudb@313 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-15 00:24:48 +00:00
Rich Prohaska
d35fe03b66
zero after malloc
...
git-svn-id: file:///svn/tokudb@309 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-14 18:12:15 +00:00
Rich Prohaska
71fbeb60a4
add primes.o, fix some memory leaks
...
git-svn-id: file:///svn/tokudb@307 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-14 14:02:57 +00:00
Rich Prohaska
4564dd3b9a
brt cursor get both feature
...
git-svn-id: file:///svn/tokudb@301 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-12 20:30:36 +00:00
Bradley C. Kuszmaul
cbc53004b7
64-bit portability for cachetable-test2
...
git-svn-id: file:///svn/tokudb@299 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-12 18:22:46 +00:00
Bradley C. Kuszmaul
2f66d9a1c7
Fix the serialize-test: It was doing read then write, instead of write then read
...
git-svn-id: file:///svn/tokudb@298 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-12 18:19:20 +00:00
Bradley C. Kuszmaul
7201ffd9e0
Improve cachetable testing
...
git-svn-id: file:///svn/tokudb@297 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-12 18:12:31 +00:00
Rich Prohaska
7077a1f50f
add multiple cursor tree walk test
...
git-svn-id: file:///svn/tokudb@296 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-11 21:34:32 +00:00
Rich Prohaska
ea41c34386
add db get, db delete
...
git-svn-id: file:///svn/tokudb@293 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-11 19:08:49 +00:00
Rich Prohaska
204f68ed3f
implement delete under brt cursor
...
git-svn-id: file:///svn/tokudb@291 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-11 18:32:10 +00:00
Rich Prohaska
f5be7117b5
brt cursor set and set range features
...
git-svn-id: file:///svn/tokudb@290 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-11 16:30:58 +00:00
Rich Prohaska
f23bc52b01
fix compile time errors
...
git-svn-id: file:///svn/tokudb@289 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-11 15:54:30 +00:00
Rich Prohaska
c71ab0c05c
fix the cursor first last deleted pair problem
...
git-svn-id: file:///svn/tokudb@288 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-11 14:53:21 +00:00
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