maria:bb-10.7-MDEV-27233

Last commit made on 2022-06-25
Get this branch:
git clone -b bb-10.7-MDEV-27233 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.7-MDEV-27233
Repository:
lp:maria

Recent commits

13f66ec... by Nayuta Yanagisawa

MDEV-27233 Server hangs when using --init-file which loads Spider and creates a Spider table

Spider waits until the server initialization is complete
(i.e., mysqld_server_started == 1) before creating the Spider system
tables like mysql.spider_XX. Spider also wait until the tables are
created before instantiating ha_spider.

This results in dead lock when Spider is loaded and a non-system
Spider table is created by --in-file because queries passed by
--in-file are executed during the server initialization
(i.e., mysqld_server_started == 0).

In the first place, there seems to be no need for Spider to wait until
the server initialization is completed before creating the system
tables. Thus, we simply remove that synchronization.

c9de564... by Alexey Botchkov

MDEV-27233 Fixes to make SQL SERVICE working

2c83fc8... by Alexey Botchkov

MDEV-27832 disable binary logging for SQL SERVICE.

Binary logging is now disabled for the queries run by SQL SERVICE.
The binlogging can be turned on with the 'SET SQL_LOG_BIN=On' query.

5d0496c... by Marko Mäkelä

Merge 10.6 into 10.7

f2f18e2... by Marko Mäkelä

MDEV-28923 atomic.rename_table occasionally fails

fil_name_process(): If the recovery of a tablespace was deferred,
do invoke fil_ibd_load() even though the name in recv_spaces is
not changing. This allows us to recover from a situation where
there are many FILE_RENAME records, renaming a tablespace back
and forth, and a FILE_MODIFY record that had been written by
fil_names_clear().

Co-developed with: Thirunarayanan Balathandayuthapani

eb7f46c... by Vladislav Vaintroub

Merge remote-tracking branch 'origin/10.5' into 10.6

35f2cdc... by Vladislav Vaintroub

MDEV-28920 Rescheduling of innodb_stats_func() missing

Fixed tpool timer implementation on POSIX.
Prior to this patch, under some specific rare circumstances (concurrency
related), timer callback execution might be skipped.

0f0a45b... by Marko Mäkelä

MDEV-18976 fixup: encryption.innodb-redo-badkey

When attempting to recover a database with an incorrect encryption key,
the unencrypted page contents should be expected to differ from what
was written before recovery. Let us suppress some more messages.
This caused intermittent failures, depending on when the latest
log checkpoint was triggered.

6f4d065... by Marko Mäkelä

MDEV-22388 Corrupted undo log record leads to server crash

trx_undo_rec_copy(): Return nullptr if the undo record is corrupted.

trx_undo_rec_get_undo_no(): Define inline with the declaration.

trx_purge_dummy_rec: Replaced with a -1 pointer.

row_undo_rec_get(), UndorecApplier::apply_undo_rec(): Check
if trx_undo_rec_copy() returned nullptr.

trx_purge_get_next_rec(): Return nullptr upon encountering any
corruption, to signal the end of purge.

8ebff3b... by Marko Mäkelä

Merge 10.6 into 10.7