Commit a3e0e652 authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

refs #5559 fix test broken by 5559


git-svn-id: file:///svn/toku/tokudb@50882 c7de825b-a66e-492c-adef-691d508d4ae1
parent 3af49286
......@@ -78,6 +78,9 @@ insert_dummy_value(FTNODE node, int bn, long k)
return leafentry_disksize(le);
}
// TODO: this stuff should be in ft/ft-ops.cc, not in a test.
// it makes it incredibly hard to add things to an ftnode
// when tests hard code initializations...
static void
setup_ftnode_header(struct ftnode *node)
{
......@@ -88,6 +91,7 @@ setup_ftnode_header(struct ftnode *node)
node->height = 0;
node->dirty = 1;
node->totalchildkeylens = 0;
node->oldest_known_referenced_xid = TXNID_NONE;
}
static void
......
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