Commit 9e8f628d authored by unknown's avatar unknown
Browse files

row0upd.c:

  row_upd_clust_rec(): Call btr_cur_get_rec() after
  btr_pcur_restore_position(), not before.  (Bug #7598)


innobase/row/row0upd.c:
  row_upd_clust_rec(): Call btr_cur_get_rec() after
  btr_pcur_restore_position(), not before.
parent cdf70f2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1531,8 +1531,8 @@ row_upd_clust_rec(
		rec_t*		rec;
		mtr_start(mtr);

		rec = btr_cur_get_rec(btr_cur);
		ut_a(btr_pcur_restore_position(BTR_MODIFY_TREE, pcur, mtr));
		rec = btr_cur_get_rec(btr_cur);
		err = btr_store_big_rec_extern_fields(index, rec,
			rec_get_offsets(rec, index, offsets_,
				ULINT_UNDEFINED, &heap),