Commit 1cf17f4e authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

refs #5559 fix more failures from 5559 on mainline (hint: we need to use...

refs #5559 fix more failures from 5559 on mainline (hint: we need to use initializing functions in tests, no more manually setting fields)


git-svn-id: file:///svn/toku/tokudb@50889 c7de825b-a66e-492c-adef-691d508d4ae1
parent ae0053e8
...@@ -292,6 +292,7 @@ test_prefetching(void) { ...@@ -292,6 +292,7 @@ test_prefetching(void) {
sn.height = 1; sn.height = 1;
sn.n_children = 3; sn.n_children = 3;
sn.dirty = 1; sn.dirty = 1;
sn.oldest_known_referenced_xid = TXNID_NONE;
uint64_t key1 = 100; uint64_t key1 = 100;
uint64_t key2 = 200; uint64_t key2 = 200;
......
...@@ -245,6 +245,7 @@ test_serialize_nonleaf(void) { ...@@ -245,6 +245,7 @@ test_serialize_nonleaf(void) {
sn.height = 1; sn.height = 1;
sn.n_children = 2; sn.n_children = 2;
sn.dirty = 1; sn.dirty = 1;
sn.oldest_known_referenced_xid = TXNID_NONE;
hello_string = toku_strdup("hello"); hello_string = toku_strdup("hello");
MALLOC_N(2, sn.bp); MALLOC_N(2, sn.bp);
MALLOC_N(1, sn.childkeys); MALLOC_N(1, sn.childkeys);
...@@ -343,6 +344,7 @@ test_serialize_leaf(void) { ...@@ -343,6 +344,7 @@ test_serialize_leaf(void) {
sn.height = 0; sn.height = 0;
sn.n_children = 2; sn.n_children = 2;
sn.dirty = 1; sn.dirty = 1;
sn.oldest_known_referenced_xid = TXNID_NONE;
LEAFENTRY elts[3]; LEAFENTRY elts[3];
elts[0] = le_malloc("a", "aval"); elts[0] = le_malloc("a", "aval");
elts[1] = le_malloc("b", "bval"); elts[1] = le_malloc("b", "bval");
......
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