maria:10.11-MDEV-33087

Last commit made on 2024-05-24
Get this branch:
git clone -b 10.11-MDEV-33087 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
10.11-MDEV-33087
Repository:
lp:maria

Recent commits

f36e2fe... by THIRUNARAYANAN BALATHANDAYUTHAPANI

MDEV-33087 ALTER TABLE...ALGORITHM=COPY should build indexes more efficiently

- During copy algorithm, InnoDB should use bulk insert operation
for row by row insert operation. By doing this, copy algorithm
can effectively build indexes. This optimization is disabled
for temporary table, versioning table and table which has
foreign key relation.

Introduced the variable innodb_alter_copy_bulk to allow
the bulk insert operation for copy alter operation
inside InnoDB. This is enabled by default

ha_innobase::extra(): HA_EXTRA_END_ALTER_COPY mode tries to apply
the buffered bulk insert operation, updates the non-persistent
table stats.

row_merge_bulk_t::write_to_index(): Update stat_n_rows after
applying the bulk insert operation

row_ins_clust_index_entry_low(): In case of copy algorithm,
switch to bulk insert operation.

copy_data_error_ignore(): Handles the error while copying
the data from source to target file.

82ba486... by Marko Mäkelä

MDEV-4742 fixup: g++-14 -Wmaybe-uninitialized

to_natsort_key(): Zero-initialize also num_start. This silences a
compiler warning. There is no impact on correctness, because
before the first read of num_start, !n_digits would always hold
and hence num_start would have been initialized.

f146ba8... by Daniel Black

MDEV-34206 compile failure: fmt use incompatible with libfmt-10.2.[2]+ (7.1.3 compat)

Preserve compatibility with 7.1.3 by including the previous non-const
function.

The error was:

fmt/format.h:3466:8: note: candidate function template not
viable: no known conversion from 'const formatter<String, [2 * ...]>' to
'formatter<fmt::basic_string_view<char>, [2 * ...]>' for object argument
 3466 | auto format(const T& val, FormatContext& ctx) ->
decltype(ctx.out()) {

4375245... by Daniel Black

MDEV-34206 compile failure: fmt use incompatible with libfmt-10.2.[2]+

Upstream libfmt commit https://github.com/fmtlib/fmt/commit/d70729215fba1d54862e407b626abf86ddf409bf
now requires the format function to be const.

Adjust the function prototype so it is const and can compile.

be0dfcd... by THIRUNARAYANAN BALATHANDAYUTHAPANI

MDEV-34200 InnoDB tries to write to read-only system tablespace
  in buf_dblwr_t::init_or_load_pages()

- InnoDB fails to set the TRX_SYS_DOUBLEWRITE_SPACE_ID_STORED
flag in transaction system header page while recreating
the undo log tablespaces

buf_dblwr_t::init_or_load_pages(): Tries to reset the
space id and try to write into doublewrite buffer even
when read_only mode is enabled.

In srv_all_undo_tablespaces_open(), InnoDB should try to
open the extra unused undo tablespaces instead of trying to
creating it.

f01e650... by Ian Gilfillan <email address hidden>

MDEV-34194: Fix spelling mistake 'depricated'

1bf9e1a... by Daniel Bartholomew <email address hidden>

bump the VERSION

3a06964... by Sergei Golubchik

MDEV-33852 start the server after deb installation

and fix installation of mysql.service on buster

followup for ec09c034d84f

a6b2f82... by Sergei Golubchik

Merge branch '10.6' into 10.11

887bb3f... by Sergei Golubchik

columnstore 6.4.8-2