maria:bb-10.9-mdev-31400

Last commit made on 2023-07-25
Get this branch:
git clone -b bb-10.9-mdev-31400 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.9-mdev-31400
Repository:
lp:maria

Recent commits

de05a0e... by Yuchen Pei

MDEV-31400 Simple plugin dependency resolution

We introduce simple plugin dependency. A plugin init function may
return HA_ERR_RETRY_INIT. If this happens during server startup when
the server is trying to initialise all plugins, the failed plugins
will be retried, until no more plugins succeed in initialisation or
want to be retried.

This will fix spider init bugs which is caused in part by its
dependency on Aria for initialisation.

The reason we need a new return code, instead of treating every
failure as a request for retry, is that it may be impossible to clean
up after a failed plugin initialisation. Take InnoDB for example, it
has a global variable `buf_page_cleaner_is_active`, which may not
satisfy an assertion during a second initialisation try, probably
because InnoDB does not expect the initialisation to be called
twice.

b9c7da4... by Alexander Barkov

MDEV-30003 Assertion failure upon 2nd execution of SP trying to set collation on non-existing database

The DBUG_ASSER in HA_CREATE_INFO::resolve_to_charset_collation_context()
didn't take into account that the second execution is possible not only
during a prepared EXECUTE, but also during a CALL.

42738f5... by Alexander Barkov

MDEV-30681 SIGFPE / UBSAN runtime error: division by zero in String::needs_conversion on ALTER

The problem was earlier fixed by MDEV-30805. Adding an MTR test only.

b27167c... by Tuukka Pasanen <email address hidden>

Make sure that here is MariaDB client available

fe5957e... by Tuukka Pasanen <email address hidden>

MDEV-31118: Add Lintian overrides for false positives

MariaDB Compression pluging pacakages mariadb-plugin-provider-*
have only one shared object and those are not linked against
libc and it's intentional so supressing error
library-not-linked-against-libc

There is needed dependency for Systemd DH plugin which
makes error missing-build-dependency-for-dh-addon obsolette.

Reworked debian/control that makes most of
version-substvar-for-external-package error not correct
so remove those that are not available anymore and update
those that are still relevant.

NOTE TO MERGER: This is only up-to MariaDB 10.10.

14eff72... by Tuukka Pasanen <email address hidden>

MDEV-31118: Override lintian dh-addon for systemd

Lintian erros with
 missing-build-dependency-for-dh-addon systemd (*)

One of these premises should be installed:
 debhelper:any (>= 9.20160709~)
 debhelper-compat:any
 dh-sequence-systemd:any
 dh-systemd:any

As there is package debhelper version 10 or higher required
for build. This is false positive Lintian error which should
be supressed..

NOTE TO MERGER: This is only up-to MariaDB 10.10.

3dd3308... by Tuukka Pasanen <email address hidden>

MDEV-31118: Rework Salsa-CI YAML work again

Salsa-CI file has got in malfunction state and
if fails with YAML error:
 mariadb-10.3 with Buster backports upgrade job:
 undefined need: build buster-backports

Also remove Salsa-CI MariaDB 10.3 double
upgrade target.

There is also several upgrades which makes
test green again.

NOTE TO MERGER: This is only up-to MariaDB 10.10.

Remove

90cd3b3... by Tuukka Pasanen <email address hidden>

MDEV-31118: Remove version-substvar-for-external-package problems

In debian/control file there is several mariadb-*-10.9 Conflicts
or Replaces that which are not neede on MariaDB 10.9 anymore
as there is not suffix anymore.

Package libmariadbclient-dev is part of Ubuntu and it's
not build with official package so there can't be
variable: '${source:Version}' which is used with packages
that are part of package.

NOTE TO MERGER: This is only up-to MariaDB 10.10.

7cde5c5... by Marko Mäkelä

Merge 10.6 into 10.9

c358e21... by Marko Mäkelä

MDEV-31642: Upgrade may crash if innodb_log_file_buffering=OFF

recv_log_recover_10_5(): Make reads aligned by 4096 bytes, to avoid
any trouble in case the file was opened in O_DIRECT mode and
the physical block size is larger than 512 bytes.
Because innodb_log_file_size used to be defined in whole megabytes,
reading multiples of 4096 bytes instead of 512 should not be an issue.