When accessing the 'default row' record, avoid the adaptive hash index
btr_search_move_or_delete_hash_entries(): Remove third parameter. We will already have buf_block_t::index. In some callers, skip the call if the index is known to be the spatial index, because there is no adaptive hash index for spatial indexes. Also, remove useless check for dict_table_is_locking_disabled() for ROW_FORMAT=COMPRESSED tables. There will never be temporary ROW_FORMAT=COMPRESSED tables in InnoDB. btr_cur_search_to_nth_level(): Do not attempt to use or update the adaptive hash index for MIN_REC_FLAG records (either the 'default row' or node pointers). btr_cur_optimistic_insert(), btr_cur_pessimistic_insert(), btr_cur_optimistic_update(), btr_cur_pessimistic_update(): Do not attempt to update the adaptive hash index for the 'default row' record. btr_cur_update_in_place(): Assert that the 'default row' record is not being updated so that the ordering fields (PRIMARY KEY) would change. btr_cur_optimistic_delete_func(), btr_cur_pessimistic_delete(): For now, assert that the 'default row' record will not be deleted. (FIXME: It can and must be deleted in rollback.)
Showing
Please register or sign in to comment