summaryrefslogtreecommitdiff
path: root/storage/innobase/btr/btr0cur.c
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@oracle.com>2011-04-20 11:29:10 +0300
committerMarko Mäkelä <marko.makela@oracle.com>2011-04-20 11:29:10 +0300
commitf76a32c2aa2a94c294e730744af7440ad6774151 (patch)
tree1d83c50a42fb7b553a2bcb53d91691ef552ae0d2 /storage/innobase/btr/btr0cur.c
parent35e80930062ac37757dda73daea7dc60afcac5e4 (diff)
downloadmariadb-git-f76a32c2aa2a94c294e730744af7440ad6774151.tar.gz
Clarify a comment.
Diffstat (limited to 'storage/innobase/btr/btr0cur.c')
-rw-r--r--storage/innobase/btr/btr0cur.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/btr/btr0cur.c b/storage/innobase/btr/btr0cur.c
index c4034d0896a..9fa8fc663c9 100644
--- a/storage/innobase/btr/btr0cur.c
+++ b/storage/innobase/btr/btr0cur.c
@@ -2429,8 +2429,8 @@ make_external:
record on its page? */
was_first = page_cur_is_before_first(page_cursor);
- /* The first parameter means that no lock checking and undo logging
- is made in the insert */
+ /* Lock checks and undo logging were already performed by
+ btr_cur_upd_lock_and_undo(). */
err = btr_cur_pessimistic_insert(BTR_NO_UNDO_LOG_FLAG
| BTR_NO_LOCKING_FLAG