summaryrefslogtreecommitdiff
path: root/innobase/btr
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2003-12-13 01:31:59 +0200
committerheikki@hundin.mysql.fi <>2003-12-13 01:31:59 +0200
commit6d9aca5069bd046c3fc63bee02e60a6d1cdacf86 (patch)
tree9f17ab7f196d035399a17e44f428da4b395e3937 /innobase/btr
parentc7d940e1953442e52ac73437185b693bb4a055b6 (diff)
downloadmariadb-git-6d9aca5069bd046c3fc63bee02e60a6d1cdacf86.tar.gz
btr0cur.c, row0umod.c:
Fix bug: if one updated a secondary index column so that its alphabetical value did not change (e.g., abc -> aBc) and rolled back the update, InnoDB failed to return the value in the secondary index to its original value row0upd.h: Correct typing error sync0sync.ic: Remove inadvertently pushed sync debug code
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