summaryrefslogtreecommitdiff
path: root/storage/innobase
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-04-25 14:14:02 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2022-04-25 14:14:02 +0300
commitb208030ef5b4274fd66cc9667a2dc96f6e63db81 (patch)
tree21325b359352826c492549b2f58b337470d5f3cd /storage/innobase
parent9286c9e6472e62b7cd5c5a0cf36006ce9b6f5893 (diff)
downloadmariadb-git-b208030ef5b4274fd66cc9667a2dc96f6e63db81.tar.gz
MDEV-11415 merge fixup: Remove a redundant call
In merge commit 921c5e931452301a09c84c53ffe35b81e6a1c71a the call log_free_check() was accidentally duplicated, causing a small performance regression on INSERT.
Diffstat (limited to 'storage/innobase')
-rw-r--r--storage/innobase/row/row0ins.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/storage/innobase/row/row0ins.cc b/storage/innobase/row/row0ins.cc
index d3ef1c89c4a..8cfad511d06 100644
--- a/storage/innobase/row/row0ins.cc
+++ b/storage/innobase/row/row0ins.cc
@@ -1,7 +1,7 @@
/*****************************************************************************
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
-Copyright (c) 2016, 2021, MariaDB Corporation.
+Copyright (c) 2016, 2022, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -3194,9 +3194,6 @@ row_ins_clust_index_entry(
? BTR_NO_LOCKING_FLAG : 0;
const ulint orig_n_fields = entry->n_fields;
- /* Try first optimistic descent to the B-tree */
- log_free_check();
-
/* For intermediate table during copy alter table,
skip the undo log and record lock checking for
insertion operation.