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

[t:3564] Fix brt-test. Refs #3564.

git-svn-id: file:///svn/toku/tokudb@32702 c7de825b-a66e-492c-adef-691d508d4ae1
parent d06f42a1
......@@ -5143,19 +5143,21 @@ maybe_apply_ancestors_messages_to_node (BRT t, BRTNODE node, ANCESTORS ancestors
BASEMENTNODE curr_bn = BLB(node, i);
ANCESTORS curr_ancestors = ancestors;
struct pivot_bounds curr_bounds = next_pivot_keys(node, i, bounds);
BRTNODE child = node;
while (curr_ancestors) {
height++;
apply_ancestors_messages_to_leafnode_and_maybe_flush(
t,
curr_bn,
curr_ancestors,
node,
child,
&curr_bounds,
made_change
);
if (curr_ancestors->node->max_msn_applied_to_node_in_memory.msn > node->max_msn_applied_to_node_in_memory.msn) {
node->max_msn_applied_to_node_in_memory = curr_ancestors->node->max_msn_applied_to_node_in_memory;
}
child = curr_ancestors->node;
curr_ancestors= curr_ancestors->next;
}
BLB_SOFTCOPYISUPTODATE(node, i) = TRUE;
......
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