maria:bb-10.7-elenst

Last commit made on 2022-04-04
Get this branch:
git clone -b bb-10.7-elenst https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.7-elenst
Repository:
lp:maria

Recent commits

7031f99... by Elena Stepanova

FreeBSD build test

cd56b40... by Dmitry Shulga <email address hidden>

MDEV-28129: MariaDB UAF issue at lex_end_nops(LEX*)

This bug report is not about ASAN Use After Free issue. This bug is
about missed calling of the method LEX::cleanup_lex_after_parse_error
that should happen on parse error.

Aforementioned method calls sphead::restore_thd_mem_root to clean up
resources acquired on processing a stored routine. Particularly,
the method sp_head::restore_tht_mem_root is called to restore
an original mem root and reset LEX::sphead into nullptr.

The method LEX::cleanup_lex_after_parse_error is invoked by the macros
MYSQL_YYABORT. Unfortunately, some rules of grammar for handling
user variables in SQL use YYABORT instead of MYSQL_YYABORT to handle
parser errors. As a consequence, in case a statement with setting of
a user variable is called inside a stored routine, it results in
assert failure in sp_head destructor.

To fix the issue the macros YYABORT should be replaced by MYSQL_YYABORT
in those grammar rules that handle assignment of user variables.

d48774e... by Sergei Golubchik

MDEV-27354 Change maturity of plugins

32ab64c... by Daniel Black

MDBF-348: libfmt=system, custom include path

With testing the system libfmt, use the
LIBFMT_INCLUDE_DIR in case the system
include path isn't sufficient.

2407dbb... by midenok

MDEV-27600 partition_debug fails with warnings "Table is open on rename new table"

Table must be closed before running ddl log revert. That is done by
handle_alter_part_error().

f78fdf0... by Nayuta Yanagisawa

MDEV-28005 Deprecate Spider plugin variables regarding UDFs

Configuring UDFs via plugin variables looks not a good idea.
The more variables Spider has, the more complex it becomes.
Further, I expect that only a few users use Spider UDFs.

Deprecate the following plugin variables regarding Spider UDFs:

* spider_udf_ds_bulk_insert_rows
* spider_udf_ds_table_loop_mode
* spider_udf_ds_use_real_table
* spider_udf_ct_bulk_insert_interval
* spider_udf_ct_bulk_insert_rows

spider_udf_table_lock_mutex_count and spider_udf_table_mon_mutex_count
are also for tweaking UDFs but they are already read-only. So,
there is no need to deprecate them.

a4d7537... by Marko Mäkelä

Merge 10.6 into 10.7

0a573e7... by Marko Mäkelä

Merge 10.5 into 10.6

7d7bdd4... by Marko Mäkelä

MDEV-28185 InnoDB generates redundant log checkpoints

The comparison on the checkpoint age (number of log bytes
written since the previous checkpoint) is inaccurate, because
the previous FILE_CHECKPOINT record could span two 512-byte
log blocks, which will cause the LSN to increase by the size of the
log block header and footer.

We will still generate a redudant checkpoint if the previous
checkpoint wrote some FILE_MODIFY records before the FILE_CHECKPOINT
record.

d875c50... by Marko Mäkelä

MDEV-17841 fixup: GCC -Wmaybe-uninitialized

Let us remove a redundant condition when the S3 plugin is disabled
during compilation time.