maria:bb-11.0-merge-spider-fixup

Last commit made on 2023-10-19
Get this branch:
git clone -b bb-11.0-merge-spider-fixup https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-11.0-merge-spider-fixup
Repository:
lp:maria

Recent commits

065d236... by Yuchen Pei <email address hidden>

[fixup] Spider fixup of the merge

Fixing the following
- Some commented out code were added in the merge
- Some changes from the following was reverted

b5d317197c6 MDEV-29676 refactored and documented spider_get_share() and friends

ed2960a... by Marko Mäkelä

WIP merge 10.11 into 11.0

FIXME: Lots of assertion failures
sql/sql_statistics.cc:4483: bool is_eits_usable(Field*): Assertion field->orig_table->stats_is_read failed.

Failing test(s): main.subselect_firstmatch main.select_debug main.join_nested_jcl6 main.analyze_format_json_timings main.join_outer_jcl6 main.subselect_sj2_jcl6 optimizer_unfixed_bugs.bug49129 main.selectivity_no_engine main.limit_rows_examined main.subselect3_jcl6 main.subselect_innodb main.subselect_mat main.subselect_sj_mat main.subselect_sj2_mat main.subselect_sj main.subselect_sj_jcl6 main.select_jcl6 main.innodb_ext_key main.join_cache main.derived_opt main.join_outer main.selectivity_innodb

2ecc044... by Marko Mäkelä

Merge 10.10 into 10.11

a49ebf7... by Monty <email address hidden>

Fixed memory leak when using histograms

This was introduced in last merge with 10.6
The reason is that 10.6 does not need anything special to free histograms
as everything is allocated on a memroot.
In 10.10 histograms is using the vector class, which has some problems:
- No automatic free
- No memory usage accounting
(we should at some point remove vector usage because of the above problem)

Fixed by expliciting freeing histograms when freeing TABLE_STATISTICS
objects.

0563106... by Marko Mäkelä

Merge 10.6 into 10.10

8f90594... by Yuchen Pei <email address hidden>

[fixup] Spider fixup after merge

- Remove some references to dead macros

515f8de... by Yuchen Pei <email address hidden>

Spider: update reason for disabling spider/bugfix.mdev_27239

It was disabled in the recent 10.6->10.10 merge.

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.