maria:bb-10.5-MDEV-30520-selinux-app-pkgtest

Last commit made on 2023-09-26
Get this branch:
git clone -b bb-10.5-MDEV-30520-selinux-app-pkgtest https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.5-MDEV-30520-selinux-app-pkgtest
Repository:
lp:maria

Recent commits

3e331ed... by Daniel Black

MDEV-30520 SELinux/Apparmor incorrectly labeled mariadbd

From 10.4 -> 10.5 renamed a few MariaDB executables.

The default selinux profile expects mariadbd to be installed in
/usr/libexec/mariadbd however our packages install in in /usr/sbin.

Change non-existant named executables in the apparmor and selinux
profiles to use the new names like mariadb-backup, mariadb, mbstream
etc and use the right paths.

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