Commit graph

190 commits

Author SHA1 Message Date
Yoni Fogel
a5ac066308 End of day, complete with comments
git-svn-id: file:///svn/tokudb@395 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-04 19:53:14 +00:00
Yoni Fogel
50bd83f274 tokudb.load with most functionality, still untested.
git-svn-id: file:///svn/tokudb@394 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-04 17:38:27 +00:00
Yoni Fogel
10530b2fe0 Fixed some errors in the header
git-svn-id: file:///svn/tokudb@393 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-04 16:21:30 +00:00
Rich Prohaska
80bb78fd34 propagate app_private through cursors
git-svn-id: file:///svn/tokudb@392 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-04 15:23:41 +00:00
Rich Prohaska
01b38bdbdf test app_private with cursors
git-svn-id: file:///svn/tokudb@391 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-04 14:41:12 +00:00
Bradley C. Kuszmaul
d4f76b0aa5 Put the parent pointers into every brtnode
git-svn-id: file:///svn/tokudb@388 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-03 19:34:31 +00:00
Rich Prohaska
a3d55db0fb make sure the db parameter is passed to the user's key compare function
when using cursors



git-svn-id: file:///svn/tokudb@385 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-03 14:51:23 +00:00
Rich Prohaska
57f9ebe655 make O2 the default
git-svn-id: file:///svn/tokudb@384 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-02 19:21:06 +00:00
Rich Prohaska
99432c5d00 some commands are expected to fail (like a delete of a non-existent key)
propagate the error code back the call stack



git-svn-id: file:///svn/tokudb@383 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-02 19:19:44 +00:00
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