maria:bb-10.4-MDEV-20502

Last commit made on 2020-05-05
Get this branch:
git clone -b bb-10.4-MDEV-20502 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.4-MDEV-20502
Repository:
lp:maria

Recent commits

5151d7c... by Kentoku SHIBA

MDEV-20502 Queries against spider tables return wrong values for columns following constant declarations.

Add test cases.

4d47d73... by Kentoku SHIBA

MDEV-20502 Queries against spider tables return wrong values for columns following constant declarations.

When executing a query like "select id, 0 as const, val from ...", there are 3 columns(items) in Query->select at handlerton->create_group_by(). After that, MariaDB makes a temporary table with 2 columns. The skipped items are const item, so fixing Spider to skip const items for items at Query->select.

edc3899... by mkaruza <email address hidden>

MDEV-22051: Protocol::end_statement(): Assertion `0' failed on Galera node upon DDL attempt with conflicting lock

If FTWRL is issued, DDL statements should report error back to user before
TOI is started.

476966b... by Marko Mäkelä

MDEV-21535 Unnecessarily large ha_innobase::records_in_range() scans

The bug was already fixed in
commit 1242eb3d32f2863f847aa96a10e2ab983a1a643b
but the test innodb.innodb_wl6326 had not been enabled.

b6eabce... by Otto Kekäläinen

Travis-CI: Shorten deb build log to keep it under 4 MB

There is a 4 MB hard limit on Travis-CI and build output needs to be less
than that. Silencing the 'make install' step gets rid of a lot of
"Installing.." and "Missing.." and removing all mysql-test files will
make the dh_missing warnings much shorter.

28604c3... by Otto Kekäläinen

Travis-CI: Add missing build dependency dh-exec

Backported from 30b44aaec7120f41ee1383536730947cfa427308.

aa7f257... by midenok

MDEV-21471 ER_CRASHED_ON_USAGE upon UPDATE FOR PORTION on Aria table

Turn read cache off for periodic update.

Like 498a96a4 says:

Aria with row_format=fixed uses IO_CACHE of type READ_CACHE for
sequential read in update loop. When history row is inserted inside
this loop the cache misses it and fails with error.

This applicable to any additional row inserts on UPDATE. In this case
it was initiated by UPDATE FOR PORTION.

Related to MDEV-20441.

198af54... by midenok

MDEV-20494 Fix wrongly ignored error status

76063c2... by midenok

MDEV-20494 ER_NOT_FORM_FILE or assertion upon adding partition to period table

- Fixed mysql_prepare_create_table() constraint duplicate checking;
- Refactored period constraint handling in mysql_prepare_alter_table():
  * No need to allocate new objects;
  * Keep old constraint name but exclude it from dup checking by automatic_name;
- Some minor memory leaks fixed;
- Some conceptual TODOs.

a219006... by Sergey Petrunia

MDEV-22014: Rowid Filtering is not displayed well in the optimizer trace

- Print the rowid filters that are available for use with each table.
- Make print_best_access_for_table() print which filter it has picked.
- Make best_access_path() print the filter for considered ref accesses.