maria:bb-10.2-monty

Last commit made on 2022-03-18
Get this branch:
git clone -b bb-10.2-monty https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.2-monty
Repository:
lp:maria

Recent commits

74e668e... by Monty <email address hidden>

Fixed warning for maria.maria-recovery2 about crashed table

The bug was a missing va_start in eprint() which caused a wrong table
name to be printed.
Patch backported from 10.3.

22fd31c... by Alexander Barkov

MDEV-28078 Garbage on multiple equal ENUMs with tricky character sets

TYPELIBs for ENUM/SET columns could erroneously undergo redundant
hex-unescaping at the table open time.

Fix:
- Prevent multiple unescaping of the same TYPELIB
- Prevent sharing TYPELIBs between columns with different mbminlen

118826d... by Marko Mäkelä

Fix gcc-12 -O2 -Warray-bounds

75e39f3... by Marko Mäkelä

Fix gcc-12 -O2 -Wmaybe-uninitialized

0f56e21... by Marko Mäkelä

MDEV-28091 PERFORMANCE_SCHEMA unit tests fail due to memory misalignment

Let us make the mocked-up pfs_malloc() return aligned memory, just
like the actual implementation does.

57dbe87... by Daniel Black

MDEV-23915 ER_KILL_DENIED_ERROR not passed a thread id (part 2)

Per Marko's comment in JIRA, sql_kill is passing the thread id
as long long. We change the format of the error messages to match,
and cast the thread id to long long in sql_kill_user.

99837c6... by Daniel Black

MDEV-23915 ER_KILL_DENIED_ERROR not passed a thread id

The 10.5 test error main.grant_kill showed up a incorrect
thread id on a big endian architecture.

The cause of this is the sql_kill_user function assumed the
error was ER_OUT_OF_RESOURCES, when the the actual error was
ER_KILL_DENIED_ERROR. ER_KILL_DENIED_ERROR as an error message
requires a thread id to be passed as unsigned long, however a
user/host was passed.

ER_OUT_OF_RESOURCES doesn't even take a user/host, despite
the optimistic comment. We remove this being passed as an
argument to the function so that when MDEV-21978 is implemented
one less compiler format warning is generated (which would
have caught this error sooner).

Thanks Otto for reporting and Marko for analysis.

03c3dc6... by Alexander Barkov

MDEV-23210 Assertion `(length % 4) == 0' failed in my_lengthsp_utf32 on ALTER TABLE, SELECT and INSERT

Problem:
Parse-time conversion from binary to tricky character sets like utf32
produced ill-formed strings. So, later a chash happened in debug builds,
or a wrong SHOW CREATE TABLE was returned in release builds.

Fix:

1. Backporting a few methods from 10.3:
  - THD::check_string_for_wellformedness()
  - THD::convert_string() overloads
  - THD::make_text_string_connection()

2. Adding a new method THD::reinterpret_string_from_binary(),
   which makes sure to either returns a well-formed string
   (optionally prepending with zero bytes), or returns an error.

ed6e271... by Elena Stepanova

MDEV-28036 gcol.gcol_supported_sql_funcs_xxx fail in FIPS mode

6de482a... by Daniel Black

MDEV-28011: debian autobake cleanup

Travis is dead to us so we don't need all the conditions around it.

Remove depends for no longer supported versions

Debian Jessies, and Ubuntu Trusty, Xenial, Wily are all eol
as far as we are concerned.

The dependancy on an apt cache when running autobake broke the
10.2 aarch64 packages (MDEV-28014). Lets reduce the risk here.