maria:bb-10.6-MDEV-31449

Last commit made on 2023-06-12
Get this branch:
git clone -b bb-10.6-MDEV-31449 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.6-MDEV-31449
Repository:
lp:maria

Recent commits

b5731d0... by Sergey Petrunia

MDEV-31449: Assertion s->table->opt_range_condition_rows <= s->found_records

Fix a typo in make_join_statistics(): when updating statistics for
derived table, set s->table->... not "table->..."

8171f9d... by Tuukka Pasanen <email address hidden>

MDEV-31423: Make sure that datadir is available with SySV-init script

Commit fixes Debian SySV-init script fail:
  /etc/init.d/mariadb: line 90: [: : integer expression expected
which happens if datadir is not changed in configuration which
makes it invisible when printing MariaDB config defaults.

Commit makes sure that there is some value if nothing else if in hand
use default /usr/lib/mysql or fail with correct error message if
directory is not present

bf0a54d... by THIRUNARAYANAN BALATHANDAYUTHAPANI

MDEV-31416 ASAN errors in dict_v_col_t::detach upon adding key to virtual column

- InnoDB throws ASAN error while adding the index on virtual column
of system versioned table. InnoDB wrongly assumes that virtual
column collation type changes, creates new column with different
character set. This leads to failure while detaching the column
from indexes.

80585c9... by Marko Mäkelä

Merge 10.5 into 10.6

d3eefba... by Marko Mäkelä

MDEV-31355 fixup: Adjust one more test

The test gcol.gcol_purge would reliably hang on 10.6 on a
Microsoft Windows builder without this adjustment.
A similar adjustment was applied in
commit 3e40f9a7f3bbe82d96c8acccbb017deebfa00647
to the tests innodb.dml_purge and innodb.instant_alter_purge.

21031b2... by Marko Mäkelä

Suppress an occasional buffer pool warning

6882eea... by Marko Mäkelä

MDEV-30483 fixup: Declare the test plugin for Debian

c25b496... by Marko Mäkelä

MDEV-31382 SET GLOBAL innodb_undo_log_truncate=ON has no effect on logically empty undo logs

innodb_undo_log_truncate_update(): A callback function. If
SET GLOBAL innodb_undo_log_truncate=ON, invoke
srv_wake_purge_thread_if_not_active().

srv_wake_purge_thread_if_not_active(): If innodb_undo_log_truncate=ON,
always wake up the purge subsystem.

srv_do_purge(): If the history is empty, invoke
trx_purge_truncate_history() in order to free undo log pages.

trx_purge_truncate_history(): If head.trx_no==0, consider the
cached undo logs to be free.

trx_purge(): Remove the parameter "bool truncate" and let the
caller invoke trx_purge_truncate_history() directly.

Reviewed by: Vladislav Lesin

3e40f9a... by Marko Mäkelä

MDEV-31355 innodb_undo_log_truncate=ON fails to wait for purge of enough transaction history

purge_sys_t::sees(): Wrapper for view.sees().

trx_purge_truncate_history(): Invoke purge_sys.sees() instead of
comparing to head.trx_no, to determine if undo pages can be safely freed.

The test innodb.cursor-restore-locking was adjusted by Vladislav Lesin,
as was the the debug instrumentation in row_purge_del_mark().

Reviewed by: Vladislav Lesin

04f0b95... by Oleksandr "Sanja" Byelkin

Merge branch '10.6' into 10.6.14