Skip to content

Commit

Permalink
MDEV-11415 merge fixup: Remove a redundant call
Browse files Browse the repository at this point in the history
In merge commit 921c5e9 the call
log_free_check() was accidentally duplicated, causing a small
performance regression on INSERT.
  • Loading branch information
dr-m committed Apr 25, 2022
1 parent 9286c9e commit b208030
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions storage/innobase/row/row0ins.cc
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit b208030

Please sign in to comment.