maria:bb-10.4-ycp-spider

Last commit made on 2023-07-05
Get this branch:
git clone -b bb-10.4-ycp-spider https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.4-ycp-spider
Repository:
lp:maria

Recent commits

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

MDEV-31524 Fixing spider table param / variable overriding

The existing (incorrect) overriding mechanism is:

Non-minus-one var value overrides table param overrides default value.

Before MDEV-27169, unspecified var value is -1. So if the user sets
both the var to be a value other than -1 and the table param, the var
value will prevail, which is incorrect.

After MDEV-27169, unspecified var value is default value. So if the
user does not set the var but sets the table param, the default value
will prevail, which is even more incorrect.

This patch fixes it so that table param, if specified, always
overrides var value, and the latter if not specified or set to -1,
falls back to the default value

We achieve this by replacing all such overriding in spd_param.cc with
macros that override in the correct way, and removing all the
"overriding -1" lines involving table params in
spider_set_connect_info_default() except for those table params not
defined as sysvar/thdvar in spd_params.cc

We also introduced macros for non-overriding sysvar and thdvar, so
that the code is cleaner and less error-prone

In server versions where MDEV-27169 has not been applied, we also
backport the patch, that is, replacing -1 default values with real
default values

In server versions where MDEV-28006 has not been applied, we do the
same for udf params

9856bb4... by Kristian Nielsen

MDEV-31602: Race on rpl_global_gtid_slave_state when starting IO thread

Fix that rpl_slave_state::load() was calling rpl_slave_state::update() without
holding LOCK_slave_state.

Reviewed-by: Monty <email address hidden>
Signed-off-by: Kristian Nielsen <email address hidden>

922db06... by Yuchen Pei <email address hidden>

MDEV-31421 Fix spider test cleanup

This fixes mdev_26541.test, and the new clean_up_spider.inc will be
useful for other tests where part of deinit_spider does not apply,
e.g. those testing spider initialisation only.

ea386c9... by Vicențiu Ciorbaru

Fix use of uninitialized variable

The original code generated a warning in gcc 13.1

5c81c50... by Sergei Golubchik

MDEV-31214 Recursive CTE execution is interrupted without errors or warnings

22e5a5f... by Sergei Golubchik

generalize ER_QUERY_EXCEEDED_ROWS_EXAMINED_LIMIT

make it "query reached <some limit> result may be incomplete"

d458136... by Sergei Golubchik

cleanup: ER_QUERY_TIMEOUT -> ER_UNUSED_1

also make sure all unused error messages are "You should never see it"
and have no translations

b808848... by Marko Mäkelä

MDEV-19216 Assertion ...SYS_FOREIGN failed in btr_node_ptr_max_size

btr_node_ptr_max_size(): Handle BINARY(0) and VARBINARY(0)
as special cases, similar to CHAR(0) and VARCHAR(0).

0105220... by Marko Mäkelä

Remove tests that duplicate innodb.max_record_size

77a229c... by Anel Husakovic <email address hidden>

MDEV-31358: Update description for MariaDB debian/rpm packages

Reviewer: <email address hidden>