Commit da234339 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4545], fix assert in brt_search_node

git-svn-id: file:///svn/toku/tokudb@40193 c7de825b-a66e-492c-adef-691d508d4ae1
parent 50e50399
...@@ -5419,7 +5419,7 @@ brt_search_node( ...@@ -5419,7 +5419,7 @@ brt_search_node(
) )
{ int r = 0; { int r = 0;
// assert that we got a valid child_to_search // assert that we got a valid child_to_search
assert(child_to_search >= 0 || child_to_search < node->n_children); assert(child_to_search >= 0 && child_to_search < node->n_children);
// //
// At this point, we must have the necessary partition available to continue the search // At this point, we must have the necessary partition available to continue the search
// //
......
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