maria:bb-11.0-igor

Last commit made on 2023-03-23
Get this branch:
git clone -b bb-11.0-igor https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-11.0-igor
Repository:
lp:maria

Recent commits

7032b35... by Igor Babaev

MDEV-29971 Re-design the upper level of handling SELECT statements

The initial patch.
All tests from the main test suite passed.

fc18f9c... by Igor Babaev

Adjusted test results after rebase of MDEV-7487 related commits against 11.1

1e0a72a... by Lena Startseva <email address hidden>

MDEV-29390: Improve coverage for UPDATE and DELETE statements in MTR test suites

Created tests for "delete" based on update_use_source.test

For the update_use_source.test tests, data recovery in the table has been changed
from a rollback transaction to a complete delete and re-insert of the data with
optimize table. Cases are now being checked on three engines.

Added tests for update/delete with LooseScan and DuplicateWeedout optimization strategies
Added tests for engine MEMORY on delete and update
Added tests for multi-update with JSON_TABLE
Added tests for multi-update and multi-delete for engine Connect

9a3fd1d... by Igor Babaev

Adjusted test results after rebase against 11.0.1

c912fd3... by Igor Babaev

Fixes of MDEV-30538 and MDEV-30586 for 10.4 adjusted for 11.0.

The commits for MDEV-30538 and MDEV-30586 could not be cherry-picked into
11.0 separately.

554278e... by Igor Babaev

MDEV-7487 Semi-join optimization for single-table update/delete statements

This patch allows to use semi-join optimization at the top level of
single-table update and delete statements.
The problem of supporting such optimization became easy to resolve after
processing a single-table update/delete statement started using JOIN
structure. This allowed to use JOIN::prepare() not only for multi-table
updates/deletes but for single-table ones as well. This was done in the
patch for mdev-28883:
Re-design the upper level of handling UPDATE and DELETE statements.

Note that JOIN::prepare() detects all subqueries that can be considered
as candidates for semi-join optimization. The code added by this patch
looks for such candidates at the top level and if such candidates are found
in the processed single-table update/delete the statement is handled in
the same way as a multi-table update/delete.

    Approved by Oleksandr Byelkin <email address hidden>

e2e3524... by Igor Babaev

Another fix after the latest rebase of commits for MDEV-28883

c22f7e8... by Igor Babaev

MDEV-29428 Incorrect result for delete with "order by" clause

ORDER BY clause without LIMIT clause can be removed from DELETE statements.

ee495b2... by Igor Babaev

Fix after the latest rebase of commits for MDEV-28883

1170178... by Igor Babaev

Applied the changes introduced in the commit

92a328099800486fe585a54d31ddf84c02ec6ae0
Author: Oleksandr Byelkin <email address hidden> Tue Jul 12 00:25:08 2022
Committer: Oleksandr Byelkin <email address hidden> Thu Jul 14 00:46:06 2022

for the code of MDEV-28883.