Commit 66787336 authored by Christian Rober's avatar Christian Rober Committed by Yoni Fogel

[t:4759] Adding extra checks to existing auto upgrade tests.

git-svn-id: file:///svn/toku/tokudb@42487 c7de825b-a66e-492c-adef-691d508d4ae1
parent fc4ab2c4
......@@ -9,6 +9,7 @@
#include "brt-flusher.h"
#include "includes.h"
#include "checkpoint.h"
static TOKUTXN const null_txn = NULL;
static DB * const null_db = NULL;
......@@ -102,7 +103,10 @@ with_open_tree(const char *fname, tree_cb cb, void *cb_extra)
CKERR(r);
r2 = cb(t, ct, cb_extra);
r = toku_verify_brt(t);
CKERR(r);
r = toku_checkpoint(ct, NULL, NULL, NULL, NULL, NULL, CLIENT_CHECKPOINT);
CKERR(r);
r = toku_close_brt_nolsn(t, 0);
CKERR(r);
r = toku_cachetable_close(&ct);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment