Commit graph

5267 commits

Author SHA1 Message Date
Yoni Fogel
76e5b4c23f Support for reading DB_CONFIG
git-svn-id: file:///svn/tokudb@641 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 15:52:02 +00:00
Yoni Fogel
15552fec29 Removed unneeded file.
git-svn-id: file:///svn/tokudb@640 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 15:49:43 +00:00
Yoni Fogel
8bd397bc80 Fix for Bugzilla Bug 6
'rpath' simulated in OSX 10.4

git-svn-id: file:///svn/tokudb@639 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 15:49:18 +00:00
Bradley C. Kuszmaul
f0e169ab6e Handle NULL TXN
git-svn-id: file:///svn/tokudb@638 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 15:48:51 +00:00
Bradley C. Kuszmaul
f62fe5cc5b Fix reason why nightly builds failed
git-svn-id: file:///svn/tokudb@637 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 14:41:44 +00:00
Rich Prohaska
9756a5df09 add dupsort insert, delete, lookup
git-svn-id: file:///svn/tokudb@634 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 00:46:09 +00:00
Rich Prohaska
5f03add22c put the -O2 flags back
git-svn-id: file:///svn/tokudb@633 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-18 23:57:38 +00:00
Rich Prohaska
e6f540e7aa test case for tokudb crash
git-svn-id: file:///svn/tokudb@625 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-18 14:04:14 +00:00
Bradley C. Kuszmaul
eec3dfe685 Improve the db_env_open_nocreate test so that it works on BDB
git-svn-id: file:///svn/tokudb@624 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-18 13:51:03 +00:00
Bradley C. Kuszmaul
574016ffd3 More logging stuff
git-svn-id: file:///svn/tokudb@623 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-18 12:48:36 +00:00
Bradley C. Kuszmaul
de6a462f71 Make test_reverse_compare_fun.bdbrun work
git-svn-id: file:///svn/tokudb@619 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-17 22:36:59 +00:00
Bradley C. Kuszmaul
d3460d9f00 Improve teh bugs
git-svn-id: file:///svn/tokudb@613 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-17 15:43:58 +00:00
Bradley C. Kuszmaul
c45b50b97f some cleanup
git-svn-id: file:///svn/tokudb@612 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-17 14:47:41 +00:00
Bradley C. Kuszmaul
9e70133511 Make the tests run under BDB as well as TDB
git-svn-id: file:///svn/tokudb@611 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-17 14:31:47 +00:00
Rich Prohaska
dfd26d869c serialize pivotflags
git-svn-id: file:///svn/tokudb@608 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-17 13:23:32 +00:00
Rich Prohaska
db85f45bf3 build the dupsort split key
git-svn-id: file:///svn/tokudb@605 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-16 22:44:56 +00:00
Rich Prohaska
5b24c06e48 fix bug 3: use the application's compare function in the pma rather than the default compare function
git-svn-id: file:///svn/tokudb@604 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-16 22:06:27 +00:00
Rich Prohaska
96b7ff0908 BRTNODEs no longer point to BRTs
git-svn-id: file:///svn/tokudb@602 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-16 20:34:13 +00:00
Bradley C. Kuszmaul
0d861f0f6f Remove memory leak in txn->commit
git-svn-id: file:///svn/tokudb@599 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-16 15:37:35 +00:00
Yoni Fogel
db9d08dda5 THINGS DONE:
0   Readded missing files i.e. regression tests.
    1
        svn add the new test (test_db_remove_subdb)
        Commit db->remove and the tokudb.bugs (bug 47 describes it)
    2
        Modified tests to use a test subdirectory for temp files,
        removed unneeded flags to DB_ENV->open
        test_db_dup.c
        test_db_already_exists.c
        test_db_close_no_open.c
        test_db_open_notexist_reopen.c
    3
        Added bug 48 (memory leak in DB->remove
        Need Valgrind to verify.
        svn add: test_db_remove_memleak.c


git-svn-id: file:///svn/tokudb@579 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-15 19:09:31 +00:00
Rich Prohaska
1620ec5815 remove app_private; merge in dup pma;
git-svn-id: file:///svn/tokudb@567 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-15 14:44:05 +00:00
Rich Prohaska
0e463512cb add bdb 4.4 and 4.6
git-svn-id: file:///svn/tokudb@563 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-15 14:09:40 +00:00
Bradley C. Kuszmaul
60abc6ee59 The log parses
git-svn-id: file:///svn/tokudb@561 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-14 22:50:15 +00:00
Bradley C. Kuszmaul
a3f55afab9 Try to parse the log
git-svn-id: file:///svn/tokudb@560 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-14 22:32:53 +00:00
Bradley C. Kuszmaul
a01d700adf Update
git-svn-id: file:///svn/tokudb@521 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-14 18:00:48 +00:00
Bradley C. Kuszmaul
48f0ad74b5 Up
git-svn-id: file:///svn/tokudb@519 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-14 17:58:38 +00:00
Bradley C. Kuszmaul
d515375960 up
git-svn-id: file:///svn/tokudb@518 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-14 17:52:59 +00:00
Bradley C. Kuszmaul
8d5fe7bd24 up
git-svn-id: file:///svn/tokudb@517 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-14 17:51:20 +00:00
Bradley C. Kuszmaul
45eac67446 up
git-svn-id: file:///svn/tokudb@516 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-14 17:51:15 +00:00
Bradley C. Kuszmaul
fdafd9a864 up
git-svn-id: file:///svn/tokudb@515 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-14 17:50:28 +00:00
Bradley C. Kuszmaul
8cb6a36f30 up
git-svn-id: file:///svn/tokudb@514 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-14 17:49:48 +00:00
Bradley C. Kuszmaul
657c57b44a Do subtransactions properly (without an fsync)
git-svn-id: file:///svn/tokudb@499 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-19 17:05:10 +00:00
Rich Prohaska
70d7c7a3ec simplify the cachetable interface by removing all of the *_size
functions



git-svn-id: file:///svn/tokudb@498 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-19 14:07:41 +00:00
Bradley C. Kuszmaul
2b08ea8e49 Example program with subcommits
git-svn-id: file:///svn/tokudb@495 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-18 18:11:17 +00:00
Rich Prohaska
f3acf3d40d fix the benchmark-test running out of vm space when running with large values
(--valsize 1024).



git-svn-id: file:///svn/tokudb@493 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-18 17:16:35 +00:00
Bradley C. Kuszmaul
407fb25431 Fix the hashit() problem
git-svn-id: file:///svn/tokudb@491 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-17 22:10:47 +00:00
Rich Prohaska
9d233260a2 add keysize and valsize
git-svn-id: file:///svn/tokudb@489 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-17 19:35:06 +00:00
Bradley C. Kuszmaul
c2227cb654 Be sure to set dirty bit in header
git-svn-id: file:///svn/tokudb@484 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-17 13:39:08 +00:00
Yoni Fogel
83d94d2718 Commented out some portions of db_load/dump
that are not yet compatible with tokudb.

Provided a fix for tokudb bug 43.

git-svn-id: file:///svn/tokudb@480 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-17 01:54:47 +00:00
Yoni Fogel
2f28e2b7d6 db_load/gen/dump project done until tokudb.bugs issues are worked on.
git-svn-id: file:///svn/tokudb@479 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-17 01:24:30 +00:00
Bradley C. Kuszmaul
d03278aae1 If the txn is null, don't derefence it
git-svn-id: file:///svn/tokudb@473 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-16 21:03:43 +00:00
Bradley C. Kuszmaul
2905012406 Don't allocate a megabyte on the stack
git-svn-id: file:///svn/tokudb@472 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-16 21:02:53 +00:00
Rich Prohaska
9fefe9b291 tighten up the mempool assertions
git-svn-id: file:///svn/tokudb@469 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-16 14:18:02 +00:00
Rich Prohaska
19b53adace add --nodesize cmd line parameter
git-svn-id: file:///svn/tokudb@467 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 21:12:08 +00:00
Bradley C. Kuszmaul
4d4eaec017 Must add ydb-internal.h
git-svn-id: file:///svn/tokudb@463 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 03:32:41 +00:00
Bradley C. Kuszmaul
39c9fc29c4 Logging
git-svn-id: file:///svn/tokudb@462 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 03:32:32 +00:00
Bradley C. Kuszmaul
b9b6b279b3 Add stdio.h to db.h
git-svn-id: file:///svn/tokudb@461 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 02:08:49 +00:00
Bradley C. Kuszmaul
88f31dfa36 wbuf can log a fileid
git-svn-id: file:///svn/tokudb@460 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 02:06:19 +00:00
Bradley C. Kuszmaul
62d8cb7fb2 Add verify
git-svn-id: file:///svn/tokudb@458 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 01:58:01 +00:00
Bradley C. Kuszmaul
5f5d398846 Run 64-bit for verify
git-svn-id: file:///svn/tokudb@457 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-15 01:56:04 +00:00