maria:bb-10.3-sysprg-vcheck

Last commit made on 2019-07-09
Get this branch:
git clone -b bb-10.3-sysprg-vcheck https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.3-sysprg-vcheck
Repository:
lp:maria

Recent commits

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

Improved error messages and added another path to the version check utility

cf7a8b9... by midenok

MDEV-16222 Assertion `0' failed in row_purge_remove_sec_if_poss_leaf on table with virtual columns and indexes

Cause
Stale thd->m_stmt_da->m_sql_errno which is from different invocation.

Fix
Reset error state before attempt to open table.

b0dd048... by midenok

MDEV-19175 Server crashes in ha_partition::vers_can_native upon INSERT DELAYED into versioned partitioned table

Uninitialized LEX::part_info on ha_partition::vers_can_native().

3ffa06b... by midenok

Tests: versioning suite fix when no test_versioning plugin

e91fb70... by midenok

MDEV-19785 Storage CONNECT compilation error: unknown type name 'UNZFAM'

Another fail fix:

undefined reference to `ZipLoadFile`

41f4f6b... by sysprg <email address hidden>

MDEV-18565: Galera mtr-suite fails if galera library is not installed (#1243)

* MDEV-18565: Galera mtr-suite fails if galera library is not installed

Currently, running mtr with an incorrect (for example, new or
obsolete) version of wsrep_provider (for example, with the 26
version of libgalera_smm.so) leads to the failure of tests in
several suites with vague error diagnostics.

As for the galera_3nodes suite, the mtr also does not effectively
check all the prerequisites after merge with MDEV-18426 fixes.
For example, tests that using mariabackup do not check for presence
of ss and socat/nc. This is due to improper handling of relative
paths in mtr scripts.

In addition, some tests in different suites can be run without
setting the environment variables such as MTR_GALERA_TFMT, XBSTREAM,
and so on.

To eliminate all these issues, this patch makes the following changes:

1. Added auxiliary wsrep_mtr_check utility (which located in the
mysql-test/lib/My/SafeProcess subdirectory), which compares the
versions of the wsrep API that used by the server and by the wsrep
provider library, and it does this comparison safely, without
accessing the API if the versions do not match.

2. All checks related to the presence of mariabackup and utilities
that necessary for its operation transferred from the local directories
of different mtr suites (from the suite.pm files) to the main suite.pm
file. This not only reduces the amount of code and eliminates duplication
of identical code fragments, but also avoids problems due to the inability
of mtr to consider relative paths to include files when checking skip
combinations.

3. Setting the values of auxiliary environment variables that
are necessary for Galera, SST scripts and mariabackup (to work
properly) is moved to the main mysql-test-run.pl script, so as
not to duplicate this code in different suites, and to avoid
partial corrections of the same errors for different suites
(while other suites remain uncorrected).

4. Fixed duplication of the have_file_key_management.inc and
have_filekeymanagement.inc files between different suites,
these checks are also transferred to the top level.

https://jira.mariadb.org/browse/MDEV-18565

* Build without additional utility in configurations without wsrep support

099007c... by Sergey Petrunia

MDEV-19936: MyRocks: compile fails on Windows

Part#2: Remove other unneeded files which cause compile
warnings-treated-as-errors errors on Windows.

7d580ad... by Sergey Petrunia

MDEV-19936: MyRocks: compile fails on Windows

Don't compile table/mock_table.cc
(pushing this patch to 10.3 first to make sure it fixes the issue
will push to 10.2, too)

1d45b3b... by Marko Mäkelä

Merge 10.2 into 10.3

c1cb5c1... by Marko Mäkelä

MDEV-19869: Correct the logic, and avoid type mismatch