Commit graph

4943 commits

Author SHA1 Message Date
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
ada5f1f6ae up
git-svn-id: file:///svn/tokudb@39 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-24 15:50:05 +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
b5b636d532 trace2 runs
git-svn-id: file:///svn/tokudb@25 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-20 14:43:41 +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
Bradley C. Kuszmaul
8d4d8ea5e2 Get a trace with an index and an insert, and try to get it to run
git-svn-id: file:///svn/tokudb@17 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-19 22:05:25 +00:00
Bradley C. Kuszmaul
b871e7911b Got another trace (creating a table)
git-svn-id: file:///svn/tokudb@13 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-19 19:10:03 +00:00
Bradley C. Kuszmaul
8fc339df49 Put mysql into the repository
git-svn-id: file:///svn/tokudb@10 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-17 15:38:36 +00:00
Bradley C. Kuszmaul
848669dce8 Remove mdict-test
git-svn-id: file:///svn/tokudb@5 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-16 13:15:24 +00:00
Bradley C. Kuszmaul
2f8ec84fb8 Rename
git-svn-id: file:///svn/tokudb@4 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-13 19:37:47 +00:00