maria:bb-10.4-mdev-26345

Last commit made on 2023-12-20
Get this branch:
git clone -b bb-10.4-mdev-26345 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.4-mdev-26345
Repository:
lp:maria

Recent commits

c4f2ba3... by Yuchen Pei <email address hidden>

MDEV-26345

nayuta's fix (df3d7315fce7b3f466fa867db5b59076ad259843)

04899db... by varun

MDEV-20468: Allocating more space than required for JOIN_TAB array for a query with SJM table

5710179... by Yuchen Pei <email address hidden>

MDEV-31101 Re-enable spider/bugfix.mdev_29904

The spider init bug fixes remove any race conditions during spider
init.

Also remove the add_suppressions in spider/bugfix.mdev_27575 which is
a similar issue.

87a5d16... by Sergei Golubchik

add another missing result file

see also 4eca64e3310

59a984b... by THIRUNARAYANAN BALATHANDAYUTHAPANI

MDEV-32725 innodb.import_update_stats accesses uninitialized ib_table->stat_n_rows

- InnoDB should write all zeros into a table and its indexes
statistics members when table is unreadable.

a2c6d61... by Sergei Golubchik

don't use dynstr_append() in mysqltest.cc

followup for ad796aaa943

c5d7036... by Sisi Huang <email address hidden>

MDEV-32942 Fix Memory Leak in my_print_defaults with Non-Existing Config Files

4eca64e... by Sergei Golubchik

add missing result file

852e138... by Marko Mäkelä

MDEV-21245 InnoDB: Using a partial-field key prefix in search

ha_innobase::compare_key_parts(): If a full column index is
being replaced with a column prefix index, return Compare_keys::NotEqual.

b471224... by Rex Johnston

MDEV-31279 Crash when lateral derived is guaranteed to return no rows

Consider this query
SELECT t1.* FROM t1, (SELECT t2.b FROM t2 WHERE NOT EXISTS
(SELECT 1 FROM t3) GROUP BY b) sq where sq.b = t1.a;

If SELECT 1 FROM t3 is expensive, for example t3 has >
thd->variables.expensive_subquery_limit, first evaluation is deferred to
mysql_derived_fill(). There it is noted that, in the above case
 NOT EXISTS (SELECT 1 FROM t3) is constant and false.

This causes the join variable zero_result_cause to be set to
"Impossible WHERE noticed after reading const tables" and the handler
for this join is never "opened" via handler::ha_open.

When mysql_derived_fill() is called for the next group of results, this
unopened handler is not taken into account.

reviewed by Igor Babaev (<email address hidden>)