Commit graph

97 commits

Author SHA1 Message Date
Bradley C. Kuszmaul
0ee4e385f1 Merge all mainline patches into the 1195 branch. Fixes #1243.
Details:  I merged with
{{{
svn merge -r6585:7747 https://svn.tokutek.com/tokudb/toku/tokudb
}}}
then resolved conflicts.  The most interesting conflict was the double inclusion of the {{{BLOCK_ALLOCATOR_HEADER_RESERVE}}} for {{{brt-internal.h}}}.   The subversion merger got confused because the patch was applied with an extra space at the end of each line.


git-svn-id: file:///svn/toku/tokudb.1243@7750 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:26 -04:00
Rich Prohaska
a19234e8d1 merge intel c++ changes from changeset 6813. addresses #1185
git-svn-id: file:///svn/toku/tokudb.1195@7730 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:25 -04:00
Bradley C. Kuszmaul
ce6b171044 Merge the multihreaded writer changes as
{{{
svn merge -r 5899:5987 https://svn.tokutek.com/tokudb/tokudb
}}}
and resolve the conflicts.


git-svn-id: file:///svn/tokudb.1131b@5988 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
2cb10197bf Add compress supresssion for valgrind. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5956 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
ab7a3ca9d3 Quiet down the cxx makefile. Addresses #13.
git-svn-id: file:///svn/tokudb@5286 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 12:55:37 +00:00
Bradley C. Kuszmaul
05d057c019 Cleanup test dirs when doing make clean. Fixes #1028.
git-svn-id: file:///svn/tokudb@5182 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-18 12:34:24 +00:00
Bradley C. Kuszmaul
7828ced3a8 Finish up the pretty output. Fixes #811.
git-svn-id: file:///svn/tokudb@3926 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 02:35:50 +00:00
Yoni Fogel
70fbc33b2b Closes 802
test_cursor_count works, so setting the makefile to expect success

git-svn-id: file:///svn/tokudb@3921 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-12 15:33:05 +00:00
Bradley C. Kuszmaul
d608b87bdf Make the {{{cxx/tests/check_test_cursor_count}}} nominally pass, even though it is failing. (We are tracking this issue with #802.)
Make the {{{cxx/tests}}} prettier.
Fixes #810.  Addresses #811, #802.


git-svn-id: file:///svn/tokudb@3919 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-12 12:50:51 +00:00
Bradley C. Kuszmaul
ed36001988 Fix #809.
git-svn-id: file:///svn/tokudb@3901 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-09 22:14:39 +00:00
Bradley C. Kuszmaul
8511ea7372 Log db close so that recovery will work right if the same db is opened and closed repeatedly.
Also the file numbers can thus be reused.
Don't pass the BRT into the flush commands, since the BRT may no longer be present.
Put a counter in to see how many rollback records are present.  (Addresses #698.)
Increment the file version to 4.
Fixes #545, #703.

Note: All the tests pass except
 * Many cxx tests are getting valgrind errors.  (Addresses #716.  Possibly causes #716.)
 * {{{test_log9.recover}}} fails with "Binary files ... differ".  These will presumably be fixed by #711 or #714.  (Addresses #711, #714.)
 * {{{test_log10.recover}}} fails.   There are two failures:
  1. A valgrind problem (see #718.)  (Addresses #718.  Possibly causes #718.)
  1. The "Binary files ... differ" issue.


git-svn-id: file:///svn/tokudb@3486 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-17 03:11:55 +00:00
Bradley C. Kuszmaul
9e82871d21 Clean up the makefiles a little more. Addresses #630.
git-svn-id: file:///svn/tokudb@3252 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-03 20:41:53 +00:00
Bradley C. Kuszmaul
7075d9fe53 Fix up Makefile and svn:ignore properties. Addresess #630.
I did:
{{{
svn merge -r3229:3230 https://svn.tokutek.com/tokudb/tokudb.558
}}}


git-svn-id: file:///svn/tokudb@3231 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-03 03:12:09 +00:00
Bradley C. Kuszmaul
83d416fa09 Merge the 558 branch back to the main with
{{{
svn merge -r3061:3225 https://svn.tokutek.com/tokudb/tokudb.558
}}}

Fixes #630.
Addresses #558.


git-svn-id: file:///svn/tokudb@3226 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-02 23:40:36 +00:00
Rich Prohaska
0c74e90477 set_lk_max_locks already added to the c++ interface. delete the extra junk. close #230
git-svn-id: file:///svn/tokudb@2468 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-29 18:30:44 +00:00
Rich Prohaska
9cfbaf9457 cleanup the test case address #408
git-svn-id: file:///svn/tokudb@2317 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-16 14:14:24 +00:00
Vincenzo Liberatore
97e1ef272f Addresses #378
Propagate refactored error handling to C++ API.

git-svn-id: file:///svn/tokudb@2308 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-15 21:36:19 +00:00
Rich Prohaska
4565645290 turn assert into an error return. close #407
git-svn-id: file:///svn/tokudb@2307 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-15 19:44:48 +00:00
Rich Prohaska
235843e2ac get the cxx/tests/exceptions working. closes #377
git-svn-id: file:///svn/tokudb@2264 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-12 15:26:45 +00:00
Rich Prohaska
07047bdfd0 rename libdb.so to libtokudb.so. closes #150
git-svn-id: file:///svn/tokudb@2230 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-10 03:50:15 +00:00
Yoni Fogel
2cb9fb2ebe Port to OSX for makefiles, easier to use OSX versions.
git-svn-id: file:///svn/tokudb@2229 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-10 02:39:08 +00:00
Rich Prohaska
49e5333ad5 lock init with set_lk_max_locks. closes #371
git-svn-id: file:///svn/tokudb@2224 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-09 16:54:01 +00:00
Rich Prohaska
e30caae6fe test DB_NOTFOUND and c++ exceptions. closes #362
git-svn-id: file:///svn/tokudb@2223 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-09 15:44:34 +00:00
Rich Prohaska
84be2fa9c4 port from branch 0.4.2 to main. closes #362
git-svn-id: file:///svn/tokudb@2196 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-08 19:10:34 +00:00
Rich Prohaska
520eec42ce test a method to increase coverage of utilities using a makefile to check exit codes
git-svn-id: file:///svn/tokudb@2157 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-07 19:06:12 +00:00
Rich Prohaska
fab328719f fix the build. addresses #277
git-svn-id: file:///svn/tokudb@2156 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-07 17:17:43 +00:00
Rich Prohaska
c5c3a7a172 improve cxx coverage addresses #277
git-svn-id: file:///svn/tokudb@2154 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-07 16:45:58 +00:00
Rich Prohaska
920df11c62 addresses #333
git-svn-id: file:///svn/tokudb@2102 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-05 21:39:02 +00:00
Rich Prohaska
3f5f1b5187 dump some header flags. addresses #333
git-svn-id: file:///svn/tokudb@2101 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-05 20:42:07 +00:00
Rich Prohaska
228e655d7e test for nodup and dupsort trees in the same file. addresses #333
git-svn-id: file:///svn/tokudb@2099 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-05 19:07:46 +00:00
Rich Prohaska
afe29aba89 get tokudb_dump -s working
get tokudb_dump working with dupsort databases



git-svn-id: file:///svn/tokudb@1928 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-27 19:36:15 +00:00
Rich Prohaska
a7f529c996 enable dump of db with unknown parameters
git-svn-id: file:///svn/tokudb@1916 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-27 03:17:37 +00:00
Rich Prohaska
cba0d393c3 test cursor prev_nodup. addresses #250
git-svn-id: file:///svn/tokudb@1889 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 16:10:29 +00:00
Rich Prohaska
994e349e38 fix the c++ exceptions test of cursor delete any. addresses #250
git-svn-id: file:///svn/tokudb@1888 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 16:09:44 +00:00
Rich Prohaska
d987eff7df increase test coverage. addresses #277
git-svn-id: file:///svn/tokudb@1695 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-16 18:59:36 +00:00
Rich Prohaska
95416f09a8 add GCOV_FLAGS var to Makefiles. addresses #277
git-svn-id: file:///svn/tokudb@1693 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-16 17:41:47 +00:00
Rich Prohaska
0ac7cfc8e4 add Db::set_errpfx. closes #272
git-svn-id: file:///svn/tokudb@1654 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-14 21:30:00 +00:00
Rich Prohaska
4e3af7f169 test DbEnv::set_error_stream. addresses #255
git-svn-id: file:///svn/tokudb@1612 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-12 00:07:10 +00:00
Rich Prohaska
a5ab8916b0 implement Db::set_error_stream. closes #257
git-svn-id: file:///svn/tokudb@1610 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-11 22:37:05 +00:00
Rich Prohaska
d3239fc444 implement DbEnv::set_error_stream closes #255
git-svn-id: file:///svn/tokudb@1603 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-11 16:14:54 +00:00
Rich Prohaska
a9e1d29612 add Db::fd closes #231
git-svn-id: file:///svn/tokudb@1601 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-11 14:38:49 +00:00
Rich Prohaska
16bcec861e implement and test cursor->count. closes #258
git-svn-id: file:///svn/tokudb@1587 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-10 19:42:08 +00:00
Rich Prohaska
ec6350ea4d next_dup and prev_dup addresses #259
git-svn-id: file:///svn/tokudb@1574 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-10 01:19:13 +00:00
Rich Prohaska
24f0c202a5 try to implement cursor.count, cursor.next_nodup, and cursor.prev_nodup on top of the more basic cursor operations. addresses #258 #259
git-svn-id: file:///svn/tokudb@1573 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-09 22:26:47 +00:00
Bradley C. Kuszmaul
06dfd4f0a4 Work on transactions rollback. Also Fixes #254. Addresess #253.
git-svn-id: file:///svn/tokudb@1572 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-09 19:58:46 +00:00
Rich Prohaska
54bf735ad2 fix cxx/tests build problems. addresses #246
git-svn-id: file:///svn/tokudb@1556 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-08 17:51:24 +00:00
Rich Prohaska
fa00e966be fix the set_errcall signature. addresses #246
git-svn-id: file:///svn/tokudb@1552 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-08 12:36:08 +00:00
Yoni Fogel
c040f95712 Added c++ wrappers for get_flags
Also added errcall initializer
Addresses #240

git-svn-id: file:///svn/tokudb@1500 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-04 16:45:44 +00:00
Rich Prohaska
c83bd8f03d stubs waiting for locking to be implemented. addresses #230
git-svn-id: file:///svn/tokudb@1467 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-02 16:00:18 +00:00
Rich Prohaska
b4d45cd7a8 add DbEnv::set_errcall closes #228
git-svn-id: file:///svn/tokudb@1441 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-31 15:00:07 +00:00