maria:st-10.4-merge-julius

Last commit made on 2023-01-12
Get this branch:
git clone -b st-10.4-merge-julius https://git.launchpad.net/maria

Branch merges

Branch information

Name:
st-10.4-merge-julius
Repository:
lp:maria

Recent commits

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

Merge 10.3 into 10.4

7a98d23... by Nikita Malyavin

MDEV-30378 Versioned REPLACE succeeds with ON DELETE RESTRICT constraint

node->is_delete was incorrectly set to NO_DELETE for a set of operations.

In general we shouldn't rely on sql_command and look for more abstract ways
to control the behavior.

trg_event_map seems to be a suitable way. To mind replica nodes, it is ORed
with slave_fk_event_map, which stores trg_event_map when replica has
triggers disabled.

1792029... by Rucha Deodhar <email address hidden>

fixup for MDEV-19160

eb145e5... by lilinjie <email address hidden>

fix typos

Signed-off-by: lilinjie <email address hidden>

c08dba7... by Monty <email address hidden>

Fixed failing test main.func_json

f3d8a54... by Monty <email address hidden>

MDEV-30345 DML does not find rows it is supposed to

This only happens with 'timestamp_column IN (select ...)

The reason was a missing assignment in Item_cache_timestamp::cache_value()

b194c83... by Brandon Nesterenko

MDEV-25277: mysqlbinlog --verbose cannot read row events with compressed columns: Don't know how to handle column type: 140

Problem:
=======
Mysqlbinlog cannot show the type of a compressed
column when two levels of verbosity is provided.

Solution:
========
Extend the log event printing logic to handle and
tag compressed types.

Behavioral Changes:
==================
  Old: When mysqlbinlog is called in verbose mode and
the database uses compressed columns, an error is
returned to the user.

  New: The output will append “ COMPRESSED” on the
type of compressed columns

Reviewed By
===========
Andrei Elkin <email address hidden>

53c4be7... by Julius Goryavsky <email address hidden>

MDEV-30220: rsync SST completely ignores aria-log-dir-path

This commit adds support for the --aria-log-dir-path
option on the command line and for the aria-log-dir-path
option in the configuration file to the SST scripts, since
before this change these parameters were completely ignored
during SST - SST scripts assumed that aria logs files are
always located in the same directory as logs for innodb.

Tests for this change will be added as a separate commit,
along with tests for MDEV-30157 and MDEV-28669.

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

MDEV-30157: Galera SST doesn't properly handle undo* files from innodb

This fix adds separate handling for "undo*" files that contain undo
logs as part of innodb files and adds a filter for undo* to the main
filter used when initially transferring files with rsync.

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

pre-MDEV-30157 & pre-MDEV-28669: fixes before the main corrections

This commit adds even more correct handling of parameters
with paths when they contain leading or trailing spaces and/or
slashes. Also it fixes problems that occur when the user specified
explicit paths to additional directories, but these paths match
the specified path of the data directory - in this case, additional
subdirectories should be treated (in relation to the data directory)
in the same way as if these paths were not specified or as if they
are implicitly specified as "." or "./". But prior to this fix,
existing code treated any values as if they were completely
separate directories, whether or not they actually point to the
same location to which datadir points to - and this sometimes
resulted in incorrect file transfers.

This fix does not contain separate tests, as tests will be
part of the main commit(s). This fix has been made as a separate
commit to facilitate review for major substantive fixes related
to MDEV-30157 and MDEV-28669.