Last commit made on 2022-06-28
Get this branch:
git clone -b bb-10.6-monty

Branch merges

Branch information


Recent commits

5e40934... by Monty <email address hidden>

MDEV-28897 Wrong table.get_ref_count() upon concurrent truncate and backup stage operation

The issue was that flush_tables() didn't take a MDL lock on cached
TABLE_SHARE before calling open_table() to do a HA_EXTRA_FLUSH call.
Most engines seams to have no issue with it, but apparantly this conflicts
with InnoDB in 10.6 when using TRUNCATE

Fixed by taking a MDL lock before trying to open the table in

There is no test case as it hard to repeat the scheduling that causes
the error. I did run the test case in MDEV-28897 to verify
that the bug is fixed.

02a313d... by Marko Mäkelä

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

This test failure is similar to encryption.innodb-redo-badkey,
which was fixed in commit 0f0a45b2dc9fe3c54ca9d146db8068b50fc97138.

1ae8160... by Marko Mäkelä

MDEV-26979 heap-use-after-free or SIGSEGV when accessing INNODB_SYS_TABLESTATS during DDL

i_s_dict_fill_sys_tablestats(): Read all fields of dict_table_t
while holding dict_sys.latch.

dict_sys_t::allow_eviction(): Remove.

20cf63f... by Marko Mäkelä

Merge 10.5 into 10.6

773f1da... by Marko Mäkelä

Merge 10.4 into 10.5

b922ae5... by Marko Mäkelä

Merge 10.3 into 10.4

f339ef3... by Marko Mäkelä

MDEV-26577 InnoDB: Failing assertion: dict_tf2_is_valid(flags, flags2) during ADD COLUMN

prepare_inplace_alter_table_dict(): If the table will not be rebuilt,
preserve all of the original ROW_FORMAT, including the compressed
page size flags related to ROW_FORMAT=COMPRESSED.

a75ad73... by Marko Mäkelä

MDEV-28389 fixup: Fix compiler warnings

hex_to_ascii(): Add #if around the definition to avoid
clang -Wunused-function. Avoid GCC 5 -Wconversion with a cast.

39f45f6... by Marko Mäkelä

MDEV-28950 Assertion `*err == DB_SUCCESS' failed in btr_page_split_and_insert

btr_root_raise_and_insert(), btr_lift_page_up(),
rtr_page_split_and_insert(): Reset DB_FAIL from a failure to
copy records on a ROW_FORMAT=COMPRESSED page to DB_SUCCESS
before retrying.

This fixes a regression that was introduced by
commit 0b47c126e31cddda1e94588799599e138400bcf8 (MDEV-13542).

btr_root_raise_and_insert(): Remove a redundant condition.
btr_page_split_and_insert() will invoke btr_page_split_and_insert()
if needed.

7d92c9d... by Marko Mäkelä

Suppress a message that may be emitted on slow systems

On FreeBSD, tests run on persistent storage, and no asynchronous I/O
has been implemented. Warnings about 205-second waits on dict_sys.latch
may occur.