Commit d7cfcfb7 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:3709] change a failing assert that fullhash is there to a calculation of...

[t:3709] change a failing assert that fullhash is there to a calculation of fullhash instead, fix #3709

git-svn-id: file:///svn/toku/tokudb@32772 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7483a521
...@@ -2911,8 +2911,8 @@ static void apply_cmd_to_in_memory_non_root_leaves_starting_at_node (BRT t, ...@@ -2911,8 +2911,8 @@ static void apply_cmd_to_in_memory_non_root_leaves_starting_at_node (BRT t,
} }
else if (brt_msg_applies_all(cmd)) { else if (brt_msg_applies_all(cmd)) {
for (int childnum=0; childnum<node->n_children; childnum++) { for (int childnum=0; childnum<node->n_children; childnum++) {
assert(BP_HAVE_FULLHASH(node, childnum)); u_int32_t child_fullhash = compute_child_fullhash(t->cf, node, childnum);
apply_cmd_to_in_memory_non_root_leaves(t, BP_BLOCKNUM(node, childnum), BP_FULLHASH(node, childnum), cmd, FALSE, node, childnum, workdone_this_childpath_p); apply_cmd_to_in_memory_non_root_leaves(t, BP_BLOCKNUM(node, childnum), child_fullhash, cmd, FALSE, node, childnum, workdone_this_childpath_p);
} }
} }
} }
......
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