Commit graph

52 commits

Author SHA1 Message Date
Bradley C. Kuszmaul
326da930c4 log-test checks to see if we can find log numbers
git-svn-id: file:///svn/tokudb@106 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-10 21:15:17 +00:00
Rich Prohaska
904da98603 allocate an array of pointers to ctpair's rather than an
array of ctpair's



git-svn-id: file:///svn/tokudb@105 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-10 21:01:24 +00:00
Bradley C. Kuszmaul
b35ac589fe Start implementing a logger
git-svn-id: file:///svn/tokudb@104 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-10 19:24:45 +00:00
Rich Prohaska
381c56c9f9 use pma split in the brt split leaf
git-svn-id: file:///svn/tokudb@103 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-09 18:54:58 +00:00
Bradley C. Kuszmaul
e1c5b6bd16 This works: make CYGWIN=cygwin check
git-svn-id: file:///svn/tokudb@102 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-09 13:35:23 +00:00
Bradley C. Kuszmaul
6e225b70ff Document memory.c and memory.h
git-svn-id: file:///svn/tokudb@101 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-09 13:26:51 +00:00
Rich Prohaska
c22c9736cd make this file portable to compilers other than gcc 4
git-svn-id: file:///svn/tokudb@100 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-09 13:00:24 +00:00
Rich Prohaska
a12290c869 use pma_bulk_insert to deserialize a leaf block
git-svn-id: file:///svn/tokudb@99 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-08 20:58:25 +00:00
Bradley C. Kuszmaul
a87bc1210d Increase size
git-svn-id: file:///svn/tokudb@98 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-08 15:12:15 +00:00
Bradley C. Kuszmaul
1639bb4b43 Increase size
git-svn-id: file:///svn/tokudb@97 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-08 15:06:51 +00:00
Bradley C. Kuszmaul
021490b1cb Get rid of more mallocs
git-svn-id: file:///svn/tokudb@96 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-08 14:59:09 +00:00
Bradley C. Kuszmaul
37b9ab72dd Report on how many fresh mallocs
git-svn-id: file:///svn/tokudb@95 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-08 14:29:31 +00:00
Bradley C. Kuszmaul
3bba4f46d9 Make a malloc that reuses things (if you tell it the size of the free'd thing)
git-svn-id: file:///svn/tokudb@94 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-07 23:38:05 +00:00
Bradley C. Kuszmaul
f94ef8fc9d Count the number of mallocs of different sizes
git-svn-id: file:///svn/tokudb@93 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-07 23:14:09 +00:00
Bradley C. Kuszmaul
17fc9acfa8 use TAGMALLOC again
git-svn-id: file:///svn/tokudb@92 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-07 23:13:56 +00:00
Bradley C. Kuszmaul
0344ea4ae8 Try using an auto variable where a malloc was used in the smooth fun
git-svn-id: file:///svn/tokudb@91 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-07 22:39:23 +00:00
Rich Prohaska
e323d20acc oops, run all of the pma tests
git-svn-id: file:///svn/tokudb@90 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-06 19:54:08 +00:00
Rich Prohaska
6a8eb4ed2a update pma cursors whenever the kv pairs are moved in the pma index.
add pma_bulk_insert functionality.



git-svn-id: file:///svn/tokudb@89 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-06 19:43:27 +00:00
Rich Prohaska
e3c9ea0202 change the pma index from an array of pairs to an array of pointers
to the key and value.  this change was made to address the slow 
insert performance on an amd64 machine.



git-svn-id: file:///svn/tokudb@87 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-03 17:21:20 +00:00
Bradley C. Kuszmaul
681e132378 Add the benchmark test
git-svn-id: file:///svn/tokudb@83 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-01 20:53:40 +00:00
Bradley C. Kuszmaul
226afd335b Add the benchmark test
git-svn-id: file:///svn/tokudb@82 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-01 20:53:18 +00:00
Bradley C. Kuszmaul
398a447dea valgrind runs on everything
git-svn-id: file:///svn/tokudb@81 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-01 17:25:22 +00:00
Bradley C. Kuszmaul
db3ba97ee5 Valgrind caught an error (uninitialized dirty bit)
git-svn-id: file:///svn/tokudb@80 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-01 16:01:52 +00:00
Bradley C. Kuszmaul
97d2b0d8aa Get rid of a bunch of valgrind warnings (none of which are real errors, probably)
git-svn-id: file:///svn/tokudb@76 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-01 02:37:21 +00:00
Bradley C. Kuszmaul
14f557112f Catch a test that happened to work
git-svn-id: file:///svn/tokudb@75 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-31 21:59:33 +00:00
Bradley C. Kuszmaul
75395214ce valgrind caught a real bug in the ybt-tests (not in the ybt itself)
git-svn-id: file:///svn/tokudb@74 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-31 21:40:30 +00:00
Bradley C. Kuszmaul
9418dc2592 make valgrind happy
git-svn-id: file:///svn/tokudb@73 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-31 21:34:08 +00:00
Bradley C. Kuszmaul
f0b4fbbe63 More 64-bit portability
git-svn-id: file:///svn/tokudb@72 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-31 21:23:00 +00:00
Bradley C. Kuszmaul
11303ab951 Compile on 64-bit
git-svn-id: file:///svn/tokudb@71 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-31 21:20:46 +00:00
Bradley C. Kuszmaul
1c8876eee6 Tests run again
git-svn-id: file:///svn/tokudb@68 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-30 21:44:27 +00:00
Rich Prohaska
7896ccf789 change the name of internal functions
git-svn-id: file:///svn/tokudb@67 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-30 18:35:40 +00:00
Rich Prohaska
28ba0b259d split a pma into 2, cursors on the pma not yet implemented
git-svn-id: file:///svn/tokudb@63 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-30 16:32:46 +00:00
Bradley C. Kuszmaul
2e236b1f5e Remove -O2
git-svn-id: file:///svn/tokudb@48 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-27 14:20:35 +00:00
Bradley C. Kuszmaul
28102024a2 Work on pma spec and speed up key compare
git-svn-id: file:///svn/tokudb@47 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-26 13:57:32 +00:00
Bradley C. Kuszmaul
905067c30c Speed things up by shrinking the hash table properly
git-svn-id: file:///svn/tokudb@42 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-24 20:23:09 +00:00
Bradley C. Kuszmaul
e6e8a2aebc Rename hash functions to avoid conflict with mysql
git-svn-id: file:///svn/tokudb@38 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-24 15:08:05 +00:00
Bradley C. Kuszmaul
0243ed5122 Fix up type conflicts with ydb.c
git-svn-id: file:///svn/tokudb@37 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-24 14:34:05 +00:00
Bradley C. Kuszmaul
0ddc38dfb1 Test funny sort keys
git-svn-id: file:///svn/tokudb@36 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-24 12:09:41 +00:00
Bradley C. Kuszmaul
0dca556c4f More work on making compare_fun
git-svn-id: file:///svn/tokudb@35 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-24 11:13:42 +00:00
Bradley C. Kuszmaul
3a649a8ac7 After lots of hacking, the reressions are OK again
git-svn-id: file:///svn/tokudb@34 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-24 03:28:48 +00:00
Bradley C. Kuszmaul
9724618448 regression tests starting to run
git-svn-id: file:///svn/tokudb@33 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-24 02:36:00 +00:00
Bradley C. Kuszmaul
62cfb06cc9 Things compile again after fiddling with the compare function. There's a malloc bug, however
git-svn-id: file:///svn/tokudb@32 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-24 01:32:03 +00:00
Bradley C. Kuszmaul
a52b758eb9 pma with compare fun works, and also uses DBTs for most interface work
git-svn-id: file:///svn/tokudb@31 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-23 20:10:16 +00:00
Bradley C. Kuszmaul
0a13028a99 More test cases
git-svn-id: file:///svn/tokudb@30 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-23 15:11:54 +00:00
Bradley C. Kuszmaul
762601f0d2 change my_malloc to toku_malloc. It all works
git-svn-id: file:///svn/tokudb@26 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-20 18:00:14 +00:00
Bradley C. Kuszmaul
3f063d2cd9 some basic stuff with cursor_next works
git-svn-id: file:///svn/tokudb@24 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-20 14:20:58 +00:00
Bradley C. Kuszmaul
6eb7bd4e15 cursor working a little more
git-svn-id: file:///svn/tokudb@23 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-20 13:05:06 +00:00
Bradley C. Kuszmaul
a7feec69d2 brt cursor starting to work
git-svn-id: file:///svn/tokudb@22 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-20 12:49:53 +00:00
Bradley C. Kuszmaul
8858b512a9 The pma-test runs
git-svn-id: file:///svn/tokudb@21 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-20 12:48:32 +00:00
Bradley C. Kuszmaul
bb3f65d84e pma_cursor_next almost works
git-svn-id: file:///svn/tokudb@20 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-20 12:41:23 +00:00