summaryrefslogtreecommitdiff
path: root/innobase/row
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2004-12-31 00:46:33 +0200
committerunknown <marko@hundin.mysql.fi>2004-12-31 00:46:33 +0200
commit9e8f628d3d7a98f088c83739d61b71f94fec8a20 (patch)
tree7dbada4206e6af6fe5ccca85c1c8a50c31b9bc8f /innobase/row
parentcdf70f2ede108267ce492abada82ca753f269e25 (diff)
downloadmariadb-git-9e8f628d3d7a98f088c83739d61b71f94fec8a20.tar.gz
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.
Diffstat (limited to 'innobase/row')
-rw-r--r--innobase/row/row0upd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/row/row0upd.c b/innobase/row/row0upd.c
index e4013633bed..c3b4117ee8b 100644
--- a/innobase/row/row0upd.c
+++ b/innobase/row/row0upd.c
@@ -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),