• Bradley C. Kuszmaul's avatar
    Log db close so that recovery will work right if the same db is opened and closed repeatedly. · 8511ea73
    Bradley C. Kuszmaul authored
    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
    8511ea73
ydb.c 87.3 KB