mariadb/cxx
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
..
tests 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.cpp addresses #333 2008-02-05 21:39:02 +00:00
dbc.cpp port from branch 0.4.2 to main. closes #362 2008-02-08 19:10:34 +00:00
dbenv.cpp set_lk_max_locks already added to the c++ interface. delete the extra junk. close #230 2008-02-29 18:30:44 +00:00
dbt.cpp Move db_cxx.h to include dir, and fix valgrind issues. Fixes #197. 2007-12-18 20:39:02 +00:00
exception.cpp Fix up memory issues in exceptions. Addresses #215. 2007-12-21 11:07:29 +00:00
Makefile Clean up the makefiles a little more. Addresses #630. 2008-04-03 20:41:53 +00:00
txn.cpp add DbTxn::abort. closes #232 2007-12-31 13:27:49 +00:00