maria:bb-10.6-ibuf

Last commit made on 2023-10-17
Get this branch:
git clone -b bb-10.6-ibuf https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.6-ibuf
Repository:
lp:maria

Recent commits

a9f030b... by THIRUNARAYANAN BALATHANDAYUTHAPANI

ibuf_delete_recs() doesn't remove all entries of page id

ibuf_delete_recs() should use the counter field for searching
the tuple when we're reopening the cursor.

ee5cadd... by THIRUNARAYANAN BALATHANDAYUTHAPANI

MDEV-28122 Optimize table crash while applying online log

- InnoDB fails to check the overflow buffer while applying
the operation to the table that was rebuilt. This is caused
by commit 3cef4f8f0fc88ae5bfae4603d8d600ec84cc70a9 (MDEV-515).

cca9547... by Monty <email address hidden>

Post fix for MDEV-32449

1c55445... by Monty <email address hidden>

MDEV-32449 Server crashes in Alter_info::add_stat_drop_index upon CREATE TABLE

Fixed missing initialization of Alter_info()

This could cause crashes in some create table like scenarios
where some generated indexes where automatically dropped.

I also added a test that we do not try to drop from index_stats for
temporary tables.

ec277a7... by Monty <email address hidden>

Do not create histograms for single column unique key

The intentention was always to not create histograms for single value
unique keys (as histograms is not useful in this case), but because of
a bug in the code this was still done.

The changes in the test cases was mainly because hist_size is now NULL
for these kind of columns.

18fa00a... by Vlad Lesin

MDEV-32272 lock_release_on_prepare_try() does not release lock if supremum bit is set along with other bits set in lock's bitmap

The error is caused by MDEV-30165 fix with the following commit:
d13a57ae8181f2a8fbee86838d5476740e050d50

There is logical error in lock_release_on_prepare_try():

        if (supremum_bit)
          lock_rec_unlock_supremum(*cell, lock);
        else
          lock_rec_dequeue_from_page(lock, false);

Because there can be other bits set in the lock's bitmap, and the lock
type can be suitable for releasing criteria, but the above logic
releases only supremum bit of the lock.

The fix is to release lock if it suits for releasing criteria and unlock
supremum if supremum is locked otherwise.

Tere is also the test for the case, which was reported by QA team. I
placed it in a separate files, because it requires debug build.

Reviewed by: Marko Mäkelä

cbad0bc... by THIRUNARAYANAN BALATHANDAYUTHAPANI

MDEV-31098 InnoDB Recovery doesn't display encryption message when no encryption configuration passed

- InnoDB fails to report the error when encryption configuration
wasn't passed. This patch addresses the issue by adding
the error while loading the tablespace and deferring the
tablespace creation.

8bf17c5... by Monty <email address hidden>

MDEV-32388 MSAN / Valgrind errors in Item_func_like::get_mm_leaf upon query from partitioned table

The problem was that RANGE_OPT_PARAM was not completely initialized in
some cases.
Added bzero() to ensure that all elements are always initialized.

55534a2... by Monty <email address hidden>

Removed warning from ssl_cipher.test

b159f05... by Monty <email address hidden>

MDEV-31957 Concurrent ALTER and ANALYZE collecting statistics can result in stale statistical data

Fixed hang when renaming index to original name