diff --git a/innobase/row/row0ins.c b/innobase/row/row0ins.c index f1f1f45821a..aab0f5affa7 100644 --- a/innobase/row/row0ins.c +++ b/innobase/row/row0ins.c @@ -1285,9 +1285,9 @@ run_again: into gaps */ err = row_ins_set_shared_rec_lock( - LOCK_REC_NOT_GAP, - rec, check_index, thr); - + LOCK_REC_NOT_GAP, rec, + check_index, offsets, thr); + if (err != DB_SUCCESS) { break;