Commit graph

5265 commits

Author SHA1 Message Date
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
e7ab3b8987 Put in a db.h that corresponds to bdb
git-svn-id: file:///svn/tokudb@451 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 13:56:36 +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
dbb558673d Save 64-bit samples
git-svn-id: file:///svn/tokudb@449 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 12:47:57 +00:00
Bradley C. Kuszmaul
32c7ffb7d4 Make a clean rule
git-svn-id: file:///svn/tokudb@448 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 12:47:32 +00:00
Bradley C. Kuszmaul
d5c992abde Fix include
git-svn-id: file:///svn/tokudb@447 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 12:45:44 +00:00
Bradley C. Kuszmaul
1348ca7937 Save new sample offsets
git-svn-id: file:///svn/tokudb@446 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-14 12:40:03 +00:00
Rich Prohaska
11bf6c52f2 mempoll testing
git-svn-id: file:///svn/tokudb@444 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-12 23:50:05 +00:00
Yoni Fogel
e215a35f09 Preliminary db_dump.
Ouputs without transactions, does not dump a header.

git-svn-id: file:///svn/tokudb@441 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-11 18:01:43 +00:00
Yoni Fogel
1955c4d541 Makefile modified to support OSX via make OSX=OSX
git-svn-id: file:///svn/tokudb@440 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-11 16:42:22 +00:00
Yoni Fogel
dc4f6e5fe2 Modifications to be compatible with tokudb
git-svn-id: file:///svn/tokudb@439 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-11 16:39:46 +00:00
Bradley C. Kuszmaul
dfba18cee6 Fixup
git-svn-id: file:///svn/tokudb@438 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-11 12:55:26 +00:00
Rich Prohaska
c69bbcf7ff pma uses a memory pool
git-svn-id: file:///svn/tokudb@436 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-10 19:33:31 +00:00
Rich Prohaska
a2dcdeeefd add kv_pair_size
git-svn-id: file:///svn/tokudb@435 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-10 19:20:08 +00:00
Yoni Fogel
016237bfee OSX port
git-svn-id: file:///svn/tokudb@434 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-10 17:41:01 +00:00
Yoni Fogel
2986216c99 All malloced memory is freed before quitting.
git-svn-id: file:///svn/tokudb@432 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-10 17:05:31 +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
5acc0020b8 Update db.h
git-svn-id: file:///svn/tokudb@426 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 22:03:34 +00:00
Bradley C. Kuszmaul
6e4b1a5ab3 Update
git-svn-id: file:///svn/tokudb@425 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 22:03:24 +00:00
Bradley C. Kuszmaul
e8433e6d55 Fixup
git-svn-id: file:///svn/tokudb@424 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 22:02: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
0f8dc9a04d Run 64
git-svn-id: file:///svn/tokudb@422 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 21:50:41 +00:00
Bradley C. Kuszmaul
675fe24587 Fix up the headers to be 4.3 compatible
git-svn-id: file:///svn/tokudb@421 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 21:48:48 +00:00
Yoni Fogel
3f2e1f88e2 db_load with initial test.
git-svn-id: file:///svn/tokudb@417 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 16:24:05 +00:00
Rich Prohaska
cba20ee708 dynamically resize the cache table
git-svn-id: file:///svn/tokudb@397 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-05 14:46:49 +00:00
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