summaryrefslogtreecommitdiff
path: root/innobase/btr
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/btr')
-rw-r--r--innobase/btr/btr0cur.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/btr/btr0cur.c b/innobase/btr/btr0cur.c
index bd09895656c..bfb4d042850 100644
--- a/innobase/btr/btr0cur.c
+++ b/innobase/btr/btr0cur.c
@@ -1175,7 +1175,8 @@ btr_cur_upd_lock_and_undo(
if (!(index->type & DICT_CLUSTERED)) {
/* We do undo logging only when we update a clustered index
record */
- return(lock_sec_rec_modify_check_and_lock(0, rec, index, thr));
+ return(lock_sec_rec_modify_check_and_lock(flags, rec, index,
+ thr));
}
/* Check if we have to wait for a lock: enqueue an explicit lock