maria:bb-11.2-mdev-32157

Last commit made on 2023-09-15
Get this branch:
git clone -b bb-11.2-mdev-32157 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-11.2-mdev-32157
Repository:
lp:maria

Recent commits

fb4434e... by Yuchen Pei <email address hidden>

MDEV-32157 MDEV-28856 Spider: Tests, documentation, small fixes and cleanups

Removed some redundant hint related string literals from
spd_db_conn.cc

Clean up SPIDER_PARAM_*_[CHAR]LEN[S]

Adding tests covering monitoring_kind=2. What it does is that it reads
from mysql.spider_link_mon_servers with matching db_name, table_name,
link_id, and does not do anything about that...

How monitoring_* can be useful: in the deprecated spider high
availability feature, when one remote fails, spider will try another
remote, which apparently makes use of these table parameters.

A test covering the query_cache_sync table param. Some further tests
on some spider table params.

Wrapper should be case insensitive.

Code documentation on spider priority binary tree.

Add an assertion that static_key_cardinality is always -1. All tests
pass still

4d2fff6... by Yuchen Pei <email address hidden>

MDEV-32157 MDEV-28856 Spider: drop server in tests

This helps eliminate "server exists" failures

Also, spider/bugfix.mdev_29676, when enabled after MDEV-29525 is
pushed will fail because we have not --recorded the result. But the
failure will only emerge when working on MDEV-31138 where we manually
re-enable this test, so let's worry about that then.

d0cdb96... by Yuchen Pei <email address hidden>

MDEV-31117 Fix spider connection info parsing

Spider connection string is a comma-separated parameter definitions,
where each definition is of the form "<param_title> <param_value>",
where <param_value> is quote delimited on both ends, with backslashes
acting as an escaping prefix.

Despite the simple syntax, the existing spider connection string
parser was poorly-written, complex, hard to reason and error-prone,
causing issues like the one described in MDEV-31117. For example it
treated param title the same way as param value when assigning, and
have nonsensical fields like delim_title_len and delim_title.

Thus as part of the bugfix, we clean up the spider comment connection
string parsing, including:

- Factoring out some code from the parsing function
- Simplify the struct `st_spider_param_string_parse`
- And any necessary changes caused by the above changes

eece7f1... by THIRUNARAYANAN BALATHANDAYUTHAPANI

- Rename the DBUG_EXECUTE_IF from sys_shrink_buffer_pool_full to
sys_shrink_buffer_pool to make it as generic name.

9b9067f... by Sergei Golubchik

mtr: s/mysqltest_embedded/mariadb-test-embedded/

avoid deprecation warning

9ad7c89... by Oleksandr "Sanja" Byelkin

Fix of incorrect merge of MDEV-31877: ASAN errors in Exec_time_tracker::get_cycles with innodb slow log verbosity
(8d210fc2aa7ca08450055e2db3249b0f18e61bdb)

29a0289... by Oleksandr "Sanja" Byelkin

Merge branch '11.2' into mariadb-11.2.1

73915d2... by Daniel Bartholomew <email address hidden>

bump the VERSION

18ddde4... by Sergei Golubchik

Merge branch '11.1' into 11.2

9bc25d9... by Sergei Golubchik

update results for ps2 mode

don't use ps2 mode for selects with side effects