maria:bb-10.8-MDEV-27849

Last commit made on 2022-03-14
Get this branch:
git clone -b bb-10.8-MDEV-27849 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.8-MDEV-27849
Repository:
lp:maria

Recent commits

0ac782c... by Angelique Sklavounos

MDEV-27849: test timeout increase

18bb95b... by Marko Mäkelä

Merge 10.7 into 10.8

e67d46e... by Marko Mäkelä

Merge 10.6 into 10.7

572e343... by Marko Mäkelä

Merge 10.5 into 10.6

258c34f... by Marko Mäkelä

MDEV-28050: clang -Wtypedef-redefinition when PLUGIN_S3=NO

Let us remove the redundant typedef.
This problem was revealed by
commit 77c184df7c056da7364e606ac977cc2d3cd826ad

c2146ce... by Marko Mäkelä

MDEV-24841: More workarounds

For some reason, the tests of the MemorySanitizer build on 10.5 failed
with both clang 13 and clang 14 with SIGSEGV. On 10.6 where it worked
better, some more places to work around were identified.

59359fb... by Marko Mäkelä

MDEV-24841 Build error with MSAN use-of-uninitialized-value in comp_err

The MemorySanitizer implementation in clang includes some built-in
instrumentation (interceptors) for GNU libc. In GNU libc 2.33, the
interface to the stat() family of functions was changed. Until the
MemorySanitizer interceptors are adjusted, any MSAN code builds
will act as if that the stat() family of functions failed to initialize
the struct stat.

A fix was applied in
https://reviews.llvm.org/rG4e1a6c07052b466a2a1cd0c3ff150e4e89a6d87a
but it fails to cover the 64-bit variants of the calls.

For now, let us work around the MemorySanitizer bug by defining
and using the macro MSAN_STAT_WORKAROUND().

3b49967... by Marko Mäkelä

MDEV-28049 Error on compiling trx0purge.cc

In commit 83212632e4b5f824edc8327be750feed32a96054
the trx_rseg_latch was instrumented for performance_schema,
but some acqusitions of rd_lock() were not adjusted.
Thus, the build would fail on platforms where a futex-based
rw-lock is not available (SUX_LOCK_GENERIC) unless the code
was built with cmake -DPLUGIN_PERFSCHEMA=NO.

810ed88... by Nayuta Yanagisawa

MDEV-27169 Change default values of Spider plugin variables to default values of table variables

Some Spider table options introduces an unnecessary complication to
Spider settings. For example, the default value of the plugin variable
spider_auto_increment_mode is -1 (use table value) and the default
table option value is 0 (normal mode). Thus, the virtual default value
of the variable is 0. This kind of indirection is confusing.

In order to delete such confusing table options in a future release,
we first change the default values of some Spider plugin variables
from -1 (use table value) to the corresponding default table values.
The default table values are defined in spider_set_connect_info_default().

At the same time, we also deprecate the option value -1 (use table value).

332c59a... by Nayuta Yanagisawa

MDEV-27923 Deprecate spider_use_handler

Deprecate the plugin variable spider_use_handler and the corresponding
table parameters "uhd" and "use_handler".

Passing a Handler statement to data nodes, without converting it to
SQL sometimes, might improve the performance, while this introduces
some complication to the implementation.

In the first place, only a few people use Handler statements and the
performance gain seems not to be very significant. Further, setting
spider_use_handler > 0 disables the GROUP BY handler. So, we decided
to deprecate the variable.