mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
[t:3564] Fix brt-test. Refs #3564.
git-svn-id: file:///svn/toku/tokudb@32702 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
b5ff7181f6
commit
eb32ca1d3c
1 changed files with 3 additions and 1 deletions
|
@ -5143,19 +5143,21 @@ maybe_apply_ancestors_messages_to_node (BRT t, BRTNODE node, ANCESTORS ancestors
|
||||||
BASEMENTNODE curr_bn = BLB(node, i);
|
BASEMENTNODE curr_bn = BLB(node, i);
|
||||||
ANCESTORS curr_ancestors = ancestors;
|
ANCESTORS curr_ancestors = ancestors;
|
||||||
struct pivot_bounds curr_bounds = next_pivot_keys(node, i, bounds);
|
struct pivot_bounds curr_bounds = next_pivot_keys(node, i, bounds);
|
||||||
|
BRTNODE child = node;
|
||||||
while (curr_ancestors) {
|
while (curr_ancestors) {
|
||||||
height++;
|
height++;
|
||||||
apply_ancestors_messages_to_leafnode_and_maybe_flush(
|
apply_ancestors_messages_to_leafnode_and_maybe_flush(
|
||||||
t,
|
t,
|
||||||
curr_bn,
|
curr_bn,
|
||||||
curr_ancestors,
|
curr_ancestors,
|
||||||
node,
|
child,
|
||||||
&curr_bounds,
|
&curr_bounds,
|
||||||
made_change
|
made_change
|
||||||
);
|
);
|
||||||
if (curr_ancestors->node->max_msn_applied_to_node_in_memory.msn > node->max_msn_applied_to_node_in_memory.msn) {
|
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;
|
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;
|
curr_ancestors= curr_ancestors->next;
|
||||||
}
|
}
|
||||||
BLB_SOFTCOPYISUPTODATE(node, i) = TRUE;
|
BLB_SOFTCOPYISUPTODATE(node, i) = TRUE;
|
||||||
|
|
Loading…
Add table
Reference in a new issue