maria:bb-10.5-MDEV-25163

Last commit made on 2023-09-27
Get this branch:
git clone -b bb-10.5-MDEV-25163 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.5-MDEV-25163
Repository:
lp:maria

Recent commits

20dac7c... by Vlad Lesin

MDEV-25163 Rowid filter does not process storage engine error correctly.

The fix is to return 3-state value from Range_rowid_filter::build()
call:
1. The filter was built successfully;
2. The filter was not built, but the error was not fatal, i.e. there is
no need to rollback transaction. For example, if the size of container to
storevrow ids is not enough;
3. The filter was not built because of fatal error, for example,
deadlock or lock wait timeout from storage engine. In this case we
should stop query plan execution and roll back transaction.

Reviewed by: Sergey Petrunya

6b343de... by Yuchen Pei <email address hidden>

Merge branch '10.4' into 10.5

b6773f5... by Yuchen Pei <email address hidden>

MDEV-31936 Simplify deinit_spider.inc

Spider is part of the server, and there's no need to check the
version.

All spider plugins are uninstalled in clean_up_spider.inc

DROP SERVER IF EXISTS makes things easier

ab9b146... by Igor Babaev

MDEV-32225 Test case from opt_tvc.test fails with statement memory protection

Memory for type holders of the columns of a table value constructor must
be allocated only once.

Approved by Oleksandr Byelkin <email address hidden>

1ee0d09... by VladislavVaintroub

MDEV-32228 speedup opening tablespaces on Windows

is_file_on_ssd() is more expensive than it should be.
It caches the results by volume name, but still calls GetVolumePathName()
every time, which, as procmon shows, opens multiple directories in
filesystem hierarchy (db directory, datadir, and all ancestors)

The fix is to cache SSD status by volume serial ID, which is cheap to
retrieve with GetFileInformationByHandleEx()

89a493d... by Oleksandr "Sanja" Byelkin

MDEV-31742 incorrect examined rows in case of stored function usage

The counter is global so we do not need add backup to it
if we do not zero it after taking the backup.

2bf291b... by Oleksandr "Sanja" Byelkin

MDEV-30820 slow log Rows_examined out of range

Fix row counters to be able to get any possible value.

9573037... by Vlad Lesin

MDEV-30165 X-lock on supremum for prepared transaction for RR

trx_t::set_skip_lock_inheritance() must be invoked at the very beginning
of lock_release_on_prepare(). Currently trx_t::set_skip_lock_inheritance()
is invoked at the end of lock_release_on_prepare() when lock_sys and trx
are released, and there can be a case when locks on prepare are released,
but "not inherit gap locks" bit has not yet been set, and page split
inherits lock to supremum.

Also reset supremum bit and rebuild waiting queue when XA is prepared.

Reviewed by: Marko Mäkelä

5a7bcf1... by Oleksandr "Sanja" Byelkin

Make WITH_WSREP=NO built with clang

8513f8f... by Marko Mäkelä

Give a reason for disabling a test