Commit 8605fe10 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Merge changes from tokudb.3173 onto main. This version causes 4.1.1 to fail...

Merge changes from tokudb.3173 onto main.  This version causes 4.1.1 to fail (when appropiately ported) and 4.1.3 to succeed.  That is, the unit tests now notice that the fractal tree has wrong pivot keys.  Fixes #3173. close[t:3173]
{{{
svn merge -c27115:27120 ../tokudb.3173
}}}
.


git-svn-id: file:///svn/toku/tokudb@27133 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4a44dbbd
......@@ -48,6 +48,7 @@ static void verify_dbfile(int n, const char *name) {
CACHETABLE ct;
r = toku_brt_create_cachetable(&ct, 0, ZERO_LSN, NULL_LOGGER); assert(r==0);
TOKUTXN const null_txn = NULL;
BRT t = NULL;
r = toku_brt_create(&t); assert(r == 0);
......@@ -55,6 +56,10 @@ static void verify_dbfile(int n, const char *name) {
assert(r==0);
r = toku_brt_open(t, name, 0, 0, ct, null_txn, 0); assert(r==0);
if (verbose) traceit("Verifying brt internals");
r = toku_verify_brt(t);
if (verbose) traceit("Verified brt internals");
BRT_CURSOR cursor = NULL;
r = toku_brt_cursor(t, &cursor, NULL, FALSE); assert(r == 0);
......
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