diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-04-25 14:14:02 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-04-25 14:14:02 +0300 |
commit | b208030ef5b4274fd66cc9667a2dc96f6e63db81 (patch) | |
tree | 21325b359352826c492549b2f58b337470d5f3cd /storage/innobase | |
parent | 9286c9e6472e62b7cd5c5a0cf36006ce9b6f5893 (diff) | |
download | mariadb-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.cc | 5 |
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. |