Commit graph

296 commits

Author SHA1 Message Date
Yoni Fogel
e69541f377 Modified some tests, add set_lg_dir test.
git-svn-id: file:///svn/tokudb@691 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 21:42:16 +00:00
Yoni Fogel
0346c1fe5c Error case for tmp_dir, error case for set_lg_dir, implemented error prefix.
git-svn-id: file:///svn/tokudb@690 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 21:40:51 +00:00
Bradley C. Kuszmaul
13f29b60cc Make fopen parse, and log only the fname relative to the env, not the whole name with the env
git-svn-id: file:///svn/tokudb@689 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 21:20:05 +00:00
Yoni Fogel
5742ba3599 Fixed test_db_open_notexist_reopen
git-svn-id: file:///svn/tokudb@688 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 21:12:49 +00:00
Yoni Fogel
7fefdb87bf Fixed test_db_env_set_errpfx
git-svn-id: file:///svn/tokudb@687 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 19:55:48 +00:00
Yoni Fogel
885fc269d3 Swapped toku_strdup for strdup
git-svn-id: file:///svn/tokudb@686 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 19:55:06 +00:00
Yoni Fogel
6171c85420 DB_ENV->set_lg_dir functionality added.
git-svn-id: file:///svn/tokudb@684 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 19:28:16 +00:00
Bradley C. Kuszmaul
c1c964a839 Log fcreate
git-svn-id: file:///svn/tokudb@683 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 13:58:47 +00:00
Bradley C. Kuszmaul
f67e4807ec Remove a stray reference to an old name. Addresses #8
git-svn-id: file:///svn/tokudb@680 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 00:40:43 +00:00
Bradley C. Kuszmaul
b904eec0d7 Make all external symbols in brt-verify.o start with toku_. Addresses #8
git-svn-id: file:///svn/tokudb@679 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 00:35:31 +00:00
Bradley C. Kuszmaul
529339d357 Make all external symbols in primes.o start with toku_. Addresses #8
git-svn-id: file:///svn/tokudb@678 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 00:34:18 +00:00
Bradley C. Kuszmaul
fd2e07c904 Make all external symbols in pma.o start with toku_. Addresses #8
git-svn-id: file:///svn/tokudb@677 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 00:32:25 +00:00
Bradley C. Kuszmaul
252ec01833 Make all external symbols in key.o start with toku_. Addresses #8
git-svn-id: file:///svn/tokudb@676 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-20 00:02:51 +00:00
Bradley C. Kuszmaul
ff277a4b43 Make all external symbols in brt-serialize.o start with toku_. Addresses #8
git-svn-id: file:///svn/tokudb@675 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 23:54:17 +00:00
Bradley C. Kuszmaul
d7288dff0b Make all external symbols in cachefile.o be start with toku_. Addresses #8
git-svn-id: file:///svn/tokudb@674 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 23:47:44 +00:00
Bradley C. Kuszmaul
f1b088cb8f Check interprocess pthread rwlocks o see if they work. Fixes #4
git-svn-id: file:///svn/tokudb@671 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 22:01:16 +00:00
Rich Prohaska
9441c81dbc git-svn-id: file:///svn/tokudb@668 c7de825b-a66e-492c-adef-691d508d4ae1 2007-11-19 21:27:13 +00:00
Bradley C. Kuszmaul
3b3687cf2d verify that home exists
git-svn-id: file:///svn/tokudb@666 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 20:56:20 +00:00
Bradley C. Kuszmaul
01bcc08dbd Some test cleanup
git-svn-id: file:///svn/tokudb@665 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 20:54:01 +00:00
Rich Prohaska
caad214427 use TOKU_DB_DUPSORT internally
git-svn-id: file:///svn/tokudb@664 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 20:22:56 +00:00
Rich Prohaska
70fc7b56fd allow build with non default BDB
git-svn-id: file:///svn/tokudb@663 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 18:56:09 +00:00
Yoni Fogel
c98359d311 Port to linux
git-svn-id: file:///svn/tokudb@662 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 18:51:10 +00:00
Yoni Fogel
4d1167fb7a Attempt to port makefile to linux
git-svn-id: file:///svn/tokudb@661 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 18:37:46 +00:00
Rich Prohaska
824103d215 bdb port
git-svn-id: file:///svn/tokudb@660 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 18:28:22 +00:00
Yoni Fogel
ee3d0db9f8 git-svn-id: file:///svn/tokudb@650 c7de825b-a66e-492c-adef-691d508d4ae1 2007-11-19 17:12:06 +00:00
Yoni Fogel
e51fdf82ec Fix for test_env_close_flags.c
git-svn-id: file:///svn/tokudb@646 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 16:51:14 +00:00
Rich Prohaska
20222917c6 use DIR for db files
git-svn-id: file:///svn/tokudb@644 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 16:32:15 +00:00
Yoni Fogel
f978d2859e Modified tokudb to work with test_db_already_exists
git-svn-id: file:///svn/tokudb@643 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 16:30:50 +00:00
Rich Prohaska
ee3d071c03 fix 2 dup search bugs
git-svn-id: file:///svn/tokudb@642 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 16:09:30 +00:00
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