maria:bb-11.0-MDEV-31022-variant3

Last commit made on 2023-05-05
Get this branch:
git clone -b bb-11.0-MDEV-31022-variant3 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-11.0-MDEV-31022-variant3
Repository:
lp:maria

Recent commits

822dfad... by Sergey Petrunia

MDEV-31022: SIGSEGV in maria_create from create_internal_tmp_table

The code in create_internal_tmp_table() didn't take into account that
now temporary (derived) tables may have multiple indexes:

- one index due to duplicate removal
   = In this example created by conversion of big-IN(...) into subquery
   = this index might be converted into a "unique constraint" if the field(s)
     length is too large.
- one index added by derived_with_keys optimization.

Make it handle multiple indexes.

As a consequence of this, remove TABLE_SHARE::uniques and replace it with
per-index HA_UNIQUE_HASH flag.
- TABLE_SHARE::uniques made sense when it referred to the only index in the
  table.
- Now, we need to know which of table indexes should be a unique constraint,
  so we indicate that as an index flag.

This patch is based on Monty's patch:
Co-Author: Monty <email address hidden>

9c287c0... by Robin Newhouse <email address hidden>

All-green GitLab CI in 11.0 branch

Include cppcheck and FlawFinder for SAST scanning.
Ignorelists are present for both, so only new problems will trigger a CI
failure.

All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer
Amazon Web Services, Inc.

b844a37... by Vicențiu Ciorbaru

Update pull request template to suggest making PRs editable by maintainers

Often there are small "nitpicky" changes that need to be done to a PR in order to
get it merged. To speed up the merge process, we will ask contributors
if they are ok with the reviewer making those changes.

Other fixups:
Improve PR template rendering in browser's textarea field. Line wrapping at 80
characters provides a bad user experience within the browser, which
handles word wrapping separately. Thus, prefer long lines in this
markdown file.

Remove the "backwards compatibility section". While the contributor
should ideally care about the impact of their patch on the server's
backwards compatibility, this is an advanced topic that is better
presented in a separate document.

ada3987... by Mikhail Chalov <email address hidden>

[MDEV-30543] New status variable: max_used_connections_time

Add variable max_used_connections_time to show the time at which
max_used_connections reached its current value. This is useful for
troubleshooting high connection counts. MySQL 8 has this already.

All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the BSD-new
license. I am contributing on behalf of my employer Amazon Web Services.

c4d6d6f... by Ahmed Ibrahim <email address hidden>

CODING_STANDARDS: Add variable initializations and functions spacing

5e01255... by Marko Mäkelä

Merge 10.11 into 11.0

d84a282... by Marko Mäkelä

Merge 10.10 into 10.11

191821f... by Marko Mäkelä

Merge 10.9 into 10.10

55e78eb... by Marko Mäkelä

Merge 10.8 into 10.9

dd2fe81... by Marko Mäkelä

Merge 10.6 into 10.8