maria:bb-10.11-mdev-29447-31338

Last commit made on 2023-06-23
Get this branch:
git clone -b bb-10.11-mdev-29447-31338 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.11-mdev-29447-31338
Repository:
lp:maria

Recent commits

d2262b4... by Yuchen Pei

MDEV-29447 MDEV-26285 MDEV-31338 Refactor spider_db_mbase_util::open_item_func

spider_db_mbase_util::open_item_func() is a monster function.
It is difficult to maintain while it is expected that we need to
modify it when a new SQL function or a new func_type is added.

We split the function into two distinct functions: one handles the
case of str != NULL and the other handles the case of str == NULL.

This refactoring was done in a conservative way because we do not
have comprehensive tests on the function.

It also fixes MDEV-29447 and MDEV-31338 where field items that are
arguments of a func item may be used before created / initialised.

Note this commit is adapted from a patch by Nayuta for MDEV-26285.

774dee9... by Meng-Hsiu Chiang <email address hidden>

Fix compiler warnings

-Wdeprecated-declarations:
  Replace deprecated xmlXPathInit() with xmlInitParser()[1]

-Wmaybe-uninitialized:
  `fil1` was initialized to 0 in commit 0138220 to fix compiler
  warnings, but `fil2` was missed.

ref:
[1]: https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-xpath.html#xmlXPathInit

3eab227... by Monty <email address hidden>

Added option sql_error_warnings to sql_error_log plugin

582d0cf... by Monty <email address hidden>

Added not_as_root.inc to some test scripts that fails if run as root

c70f35f... by Monty <email address hidden>

Disable flush_logs_not_windows.test of run as root (causes failure)

29ec07a... by Monty <email address hidden>

Update BUILD scripts

- Remove -Wimplicit-fallthrough=2 for gcc versions < 6
- Don't do git submodule update one fresh git clones
  This fixes an issue when using git 1.0 that gives
  errors on empty submodule directories

56bcb2b... by Marko Mäkelä

Merge mariadb-10.11.4 into 10.11

5d7b957... by Marko Mäkelä

Merge 10.10 into 10.11

47c9a61... by Marko Mäkelä

Merge mariadb-10.10.5 into 10.10

e704a13... by Marko Mäkelä

Merge 10.9 into 10.10