Commit dcbd036c authored by marko's avatar marko

branches/innodb+: Non-functional change: Use dict_index_is_ibuf()

instead of accessing index->type directly.
parent a9578542
......@@ -697,7 +697,7 @@ btr_cur_search_to_nth_level(
/* Go to the child node */
page_no = btr_node_ptr_get_child_page_no(node_ptr, offsets);
if (index->type & DICT_IBUF && height == level) {
if (dict_index_is_ibuf(index) && height == level) {
/* We're doing a search on an ibuf tree and we're one level
above the leaf page. (Assuming level == 0, which it should
be.) */
......
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