maria:bb-10.6-MDEV-27557-clust-mtr-savepoint

Last commit made on 2022-03-21
Get this branch:
git clone -b bb-10.6-MDEV-27557-clust-mtr-savepoint https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.6-MDEV-27557-clust-mtr-savepoint
Repository:
lp:maria

Recent commits

9543c70... by Vlad Lesin

MDEV-27557 InnoDB unnecessarily commits mtr during secondary index search to preserve clustered index latching order

New function to release latches till savepoint was added in mtr_t. As there is
no longer need to limit MDEV-20605 fix usage for locking reads only, the
limitation is removed.

8840583... by Marko Mäkelä

MDEV-27909 InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED ... on DDL

The fix in commit 6e390a62baa9dfd92d2776d28c97fd9525422295 (MDEV-26772)
was a step to the right direction, but implemented incorrectly.
When an InnoDB persistent statistics table cannot be locked immediately,
we must not let row_mysql_handle_errors() to roll back the transaction.

lock_table_for_trx(): Add the parameter no_wait (default false)
for an immediate return of DB_LOCK_WAIT in case of a conflict.

ha_innobase::delete_table(), ha_innobase::rename_table():
Pass no_wait=true to lock_table_for_trx() when needed,
instead of temporarily setting THDVAR(thd, lock_wait_timeout) to 0.

065f995... by Daniel Black

Merge branch 10.5 into 10.6

06e3bc4... by Marko Mäkelä

MDEV-17841 fixup: GCC -Wmaybe-uninitialized

In commit ab38b7511bad8cc03a67f0d43e7169e6dfcac9fa
an added "goto err" would seemingly cause a read of
an uninitialized variable old_info if errpos>=5.

However, because we would have errpos=0 at that point,
there was no real error.

b73d852... by Daniel Black

Merge 10.4 to 10.5

ee80c19... by Marko Mäkelä

MDEV-26551 InnoDB crash on multiple concurrent SHOW TABLE STATUS

dict_get_and_save_data_dir_path(): Protect the operation with
dict_table_t::lock_mutex and avoid unnecessary memory allocation.

31ad927... by THIRUNARAYANAN BALATHANDAYUTHAPANI

MDEV-28079 Shutdown hangs after altering innodb partition fts table

- InnoDB purge waits at resume_FTS() while shutting down.
This happens after altering the FTS innodb partition table.
stop_FTS() has been called for each partition, but it calls
resume_FTS() only once and it leads to hang during shutdown.
This issue was introduced by
commit 1bd681c8b3c5213ce1f7976940a7dc38b48a0d39(MDEV-25506).

069139a... by Daniel Black

Merge 10.3 to 10.4

extra2_read_len resolved by keeping the implementation
in sql/table.cc by exposed it for use by ha_partition.cc

Remove identical implementation in unireg.h
(ref: bfed2c7d57a7ca34936d6ef0688af7357592dc40)

6a2d88c... by Daniel Black

Merge 10.2 to 10.3

0e63023... by Alexander Barkov

Merge branch 10.2 into 10.3