Commit d29afa58 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel
Browse files

[t:4793], fix maybe_destroy_child_blbs

git-svn-id: file:///svn/toku/tokudb@42595 c7de825b-a66e-492c-adef-691d508d4ae1
parent fd53aa72
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@ maybe_destroy_child_blbs(BRTNODE node, BRTNODE child)
    // If the node is already fully in memory, as in upgrade, we don't
    // need to destroy the basement nodes because they are all equally
    // up to date.
    if (!is_entire_node_in_memory(child) && 
    if (child->n_children > 1 && 
        child->height == 0 && 
        !child->dirty) {
        for (int i = 0; i < child->n_children; ++i) {