maria:bb-10.2-MDEV-27109

Last commit made on 2021-11-28
Get this branch:
git clone -b bb-10.2-MDEV-27109 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.2-MDEV-27109
Repository:
lp:maria

Recent commits

69126ff... by Alexey Bychko <email address hidden>

MDEV-27109 mysql_config mariadb_config lists non existant -lmariadb

server part of MDEV-27109.
added dependency devel->shared and conflict with previous versions

f809a4f... by ryancaicse <email address hidden>

MDEV-26558 Fix a deadlock due to cyclic dependence

Fix a potential deadlock bug between locks ctrl_mutex and entry->mutex

ef179da... by Daniel Black

mysql_install_db: remove MySQL references

MySQL documentation isn't going to help our
users and we shouldn't refer to it.

749d8de... by Marc Olivier Bergeron <email address hidden>

MDEV-27066: Fixed scientific notation parsing bug

The bug occurs where the float token containing a dot with an 'e'
notation was dropped from the request completely.

This causes a manner of invalid SQL statements like:

select id 1.e, char 10.e(id 2.e), concat 3.e('a'12356.e,'b'1.e,'c'1.1234e)1.e, 12 1.e*2 1.e, 12 1.e/2 1.e, 12 1.e|2 1.e, 12 1.e^2 1.e, 12 1.e%2 1.e, 12 1.e&2 from test;

To be parsed correctly as if it was:

select id, char(id), concat('a','b','c'), 12*2, 12/2, 12|2, 12^2, 12%2, 12&2 from test.test;

This correct parsing occurs when e is followed by any of:

( ) . , | & % * ^ /

fe065f8... by Alexey Bychko <email address hidden>

MDEV-22522 RPM packages have meaningless summary/description

this patch moves cpack summury and description for optional packages
to the appropriate CMakeLists.txt files

2f51511... by Julius Goryavsky <email address hidden>

MDEV-26915: SST scripts do not take log_bin_index setting into account

Currently, SST scripts assume that the filename specified in
the --log-bin-index argument either does not contain an extension
or uses the standard ".index" extension. Similar assumptions are
used for the log_bin_index parameter read from the configuration
file. This commit adds support for arbitrary extensions for the
index file paths.

b952599... by Julius Goryavsky <email address hidden>

MDEV-26064: mariabackup SST fails when starting with --innodb-force-recovery

If the server is started with the --innodb-force-recovery argument
on the command line, then during SST this argument can be passed to
mariabackup only at the --prepare stage, and accordingly it must be
removed from the --mysqld-args list (and it is not should be passed
to mariabackup otherwise).

This commit fixes a flaw in the SST scripts and add a test that
checks the ability to run the joiner node in a configuration that
uses --innodb-force-recovery=1.

114e18b... by Igor Babaev

MDEV-26470 "No database" selected when using CTE in a subquery of DELETE statement

This bug led to reporting bogus messages "No database selected" for DELETE
statements if they used subqueries in their WHERE conditions and these
subqueries contained references to CTEs.
The bug happened because the grammar rule for DELETE statement did not
call the function LEX::check_cte_dependencies_and_resolve_references() and
as a result of it references to CTEs were not identified as such.

Approved by Oleksandr Byelkin <email address hidden>

0dae416... by Igor Babaev

MDEV-27086 "No database selected" when using UNION of CTEs to define table

This bug concerned only CREATE TABLE statements of the form
  CREATE TABLE <table name> AS <with clause> <union>.
For such a statement not all references to CTE used in <union> were resolved.
As a result a bogus message was reported for the first unresolved reference.
This happened because for such statements the function resolving references
to CTEs LEX::check_cte_dependencies_and_resolve_references() was called
prematurely in the parser.

Approved by Oleksandr Byelkin <email address hidden>

e9f171b... by Alexander Barkov

MDEV-27098 Subquery using the ALL keyword on TIME columns produces a wrong result