mariadb/cxx/tests
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
..
db_create.cpp Log db close so that recovery will work right if the same db is opened and closed repeatedly. 2008-04-17 03:11:55 +00:00
db_dump.cpp turn assert into an error return. close #407 2008-02-15 19:44:48 +00:00
db_dump_e.cpp port from branch 0.4.2 to main. closes #362 2008-02-08 19:10:34 +00:00
db_load.cpp add db_load.cpp. addresses #197 2007-12-20 19:52:26 +00:00
exceptions.cpp get the cxx/tests/exceptions working. closes #377 2008-02-12 15:26:45 +00:00
Makefile Merge the 558 branch back to the main with 2008-04-02 23:40:36 +00:00
test1.cpp Clean up the valgrind memory leaks (caused by lots of subtle c++ bugs. Addresse #215 2007-12-21 19:59:31 +00:00
test1e.cpp Clean up the valgrind memory leaks (caused by lots of subtle c++ bugs. Addresse #215 2007-12-21 19:59:31 +00:00
test_cursor_count.cpp test cursor prev_nodup. addresses #250 2008-01-25 16:10:29 +00:00
test_db_assoc3.cpp test Db::associate closes #226 closes #234 2007-12-30 16:46:07 +00:00
test_db_delete.cpp improve cxx coverage addresses #277 2008-02-07 16:45:58 +00:00
test_env_set_flags.cpp add DbEnv::set_flags addresses #229 2007-12-29 17:59:20 +00:00
test_error_stream.cpp add Db::set_errpfx. closes #272 2008-01-14 21:30:00 +00:00
test_fd.cpp add Db::fd closes #231 2008-01-11 14:38:49 +00:00
test_get_not_found.cpp test DB_NOTFOUND and c++ exceptions. closes #362 2008-02-09 15:44:34 +00:00
test_no_env.cpp test case for double DbEnv delete. addresses #233 2007-12-29 16:21:58 +00:00
test_reverse_compare_fun.cpp fix the build. addresses #277 2008-02-07 17:17:43 +00:00