Skip to content

Commit b208030

Browse files
committed
MDEV-11415 merge fixup: Remove a redundant call
In merge commit 921c5e9 the call log_free_check() was accidentally duplicated, causing a small performance regression on INSERT.
1 parent 9286c9e commit b208030

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

storage/innobase/row/row0ins.cc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*****************************************************************************
22
33
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
4-
Copyright (c) 2016, 2021, MariaDB Corporation.
4+
Copyright (c) 2016, 2022, MariaDB Corporation.
55
66
This program is free software; you can redistribute it and/or modify it under
77
the terms of the GNU General Public License as published by the Free Software
@@ -3194,9 +3194,6 @@ row_ins_clust_index_entry(
31943194
? BTR_NO_LOCKING_FLAG : 0;
31953195
const ulint orig_n_fields = entry->n_fields;
31963196

3197-
/* Try first optimistic descent to the B-tree */
3198-
log_free_check();
3199-
32003197
/* For intermediate table during copy alter table,
32013198
skip the undo log and record lock checking for
32023199
insertion operation.

0 commit comments

Comments
 (0)