summaryrefslogtreecommitdiff
path: root/innobase/btr
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2003-12-13 01:31:59 +0200
committerunknown <heikki@hundin.mysql.fi>2003-12-13 01:31:59 +0200
commit691bd823b56ce44f0775661f06dc7eeb7320c915 (patch)
tree9f17ab7f196d035399a17e44f428da4b395e3937 /innobase/btr
parentcd3548585ddbbb1d20f8bc1a6d8e2e064747c9fa (diff)
downloadmariadb-git-691bd823b56ce44f0775661f06dc7eeb7320c915.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 innobase/include/sync0sync.ic: Remove inadvertently pushed sync debug code innobase/include/row0upd.h: Correct typing error innobase/row/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 innobase/btr/btr0cur.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
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