diff --git a/storage/innobase/row/row0sel.cc b/storage/innobase/row/row0sel.cc index d5b1a596f014f..6b3542e7aa39a 100644 --- a/storage/innobase/row/row0sel.cc +++ b/storage/innobase/row/row0sel.cc @@ -5726,9 +5726,7 @@ row_search_mvcc( /*-------------------------------------------------------------*/ if (!dict_index_is_spatial(index)) { - if (rec) { - btr_pcur_store_position(pcur, &mtr); - } + btr_pcur_store_position(pcur, &mtr); } lock_table_wait: