Commit b208030e authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-11415 merge fixup: Remove a redundant call

In merge commit 921c5e93 the call
log_free_check() was accidentally duplicated, causing a small
performance regression on INSERT.
parent 9286c9e6
/*****************************************************************************
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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment