Commit 66ed2719 authored by mmakela's avatar mmakela

branches/innodb+: btr_cur_search_to_nth_level(): Remove a bogus comment.

The adaptive hash index can be used when a buffered operation is requested,
and the latch_mode check does not prevent it, because latch_mode does not
contain any btr_op bits at this point.
parent 8cf6771b
......@@ -455,9 +455,6 @@ btr_cur_search_to_nth_level(
#ifdef UNIV_SEARCH_PERF_STAT
info->n_searches++;
#endif
/* Ibuf does not use adaptive hash; this is prevented by the
latch_mode check below. */
if (rw_lock_get_writer(&btr_search_latch) == RW_LOCK_NOT_LOCKED
&& latch_mode <= BTR_MODIFY_LEAF
&& info->last_hash_succ
......
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