maria:bb-10.6-MDEV-16976

Last commit made on 2021-02-01
Get this branch:
git clone -b bb-10.6-MDEV-16976 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.6-MDEV-16976
Repository:
lp:maria

Recent commits

ee11d03... by Nikita Malyavin

calculate overlaps

73448bd... by Nikita Malyavin

compiles

7630ec9... by Nikita Malyavin

MDEV-16976

fb3e676... by Nikita Malyavin

Field::store: s/to/from/

f2b19f7... by Nikita Malyavin

MDEV-19784 [4/4] fix problem with yacc and revert yacc changes

778903e... by Nikita Malyavin

MDEV-19784 [3/4] fix my_error usage

944507f... by Nikita Malyavin

MDEV-19784 [2/4] errmsg: change %d to %zu for size specifiers to match size_t

0e37145... by Nikita Malyavin

MDEV-19784 [1/4] add my_error guards

1. A printf-like function my_error_ensure is added. It additionally accepts
 a format string which is not supposed to be used other that to ensure that
 arguments match the format.

2. my_error has a dynamic and distributed infrastructure for error
 registration with plugins and languages support. I have decided that this
 should be preserved. The format didn't change, the registration mechanism
 is preserved as well.
 Instead additional printf-compatible ensure-format string is generated for
 each format string in errmsg-utf8.txt to be passed to my_error_ensure.

3. my_error becomes a macro that translates into my_error_ensure call,
 passing additionally an ensure-format string.
 This preserves the calling protocol, but the error code cannot be dynamic
 anymore -- my_error_ensure should be used instead there, and it's up to
 caller to make sure that arguments match the error code. See examples in
 the patch.

4. For EE_* errors ensure strings are also added directly in the code.
 The usage stays seamless.
 For HA_ERR_* no ensure strings are added, because they are trivial, and
 are used mostly dynamically anyway. It is possible to easily add them if
 one wants though.

5. External plugins will still use good old service functions

7f30a5c... by Daniel Black

MDEV-24125: allow compile on Linux headers < 3.8

This allows MariaDB to compile on old (limits to >2.6.32)
linux kernel versions.

This warns that attempts to use large pages will rely on
implict kernel determination.

8cc5d28... by Daniel Black

MDEV-24125: linux large pages - Revert "Fixed centos 6 build failure"

This reverts commit 6cf8f05fd9deb900a78898576b85753e09feddaa.

Original patch assumed that MAP_HUGETLB as consistent across
achitectures which isn't the case. Defining it unconditionally
broke large pages on every achitecutre where the value differed
from x86_64.

With the EOL for Centos/RHEL6 announced in 10.5.7, <3.8 linux
kernels are no longer supported.