maria:bb-10.4-midenok-MDEV-30528

Last commit made on 2023-09-14
Get this branch:
git clone -b bb-10.4-midenok-MDEV-30528 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.4-midenok-MDEV-30528
Repository:
lp:maria

Recent commits

ba38c64... by midenok

TMP: innodb_fts.f for testing doc_id

29a34d4... by midenok

MDEV-30528 Assertion in dtype_get_at_most_n_mbchars

1. Exclude merging history rows into fts index.

The check !history_fts && (index->type & DICT_FTS) was just incorrect
attempt to avoid history in fts index.

2. Don't check for duplicates for history rows.

d890aca... by Sergei Golubchik

"un-skip" more skipped tests

* version_compile_os can be "linux-systemd", not equal to "Linux"
* main.no-threads forces no-threads scheduler, a check whether it
  has one_thread_per_connection is guaranteed to fail.

65c9920... by Marko Mäkelä

MDEV-23841: Memory leak in innodb_monitor_validate()

innodb_monitor_validate(): Let item_val_str() allocate the memory
in THD, so that it will be available to innodb_monitor_update().
In this way, there is no need to allocate another buffer, and
no problem if the call to innodb_monitor_update() is skipped due
to an invalid value that is passed to another configuration parameter.

There are some other callers to st_mysql_sys_var::val_str()
that validate configuration parameters that are related to FULLTEXT INDEX,
but they will allocate memory by invoking thd_strmake().

5299f0c... by Marko Mäkelä

MDEV-21664 Add opt files for have_innodb_Xk.inc

Currently include/have_innodb_4k.inc etc. files only check that the
server is running with the corresponding page size. I think it would
be more convenient if they actually enforced the setting.

d4fd4ae... by Marko Mäkelä

MDEV-21679 innodb_zip.index_large_prefix_4k fails with ER_TOO_BIG_ROWSIZE

The test innodb_zip.index_large_prefix_4k would not run unless it is
invoked as
./mtr --mysqld=--innodb-page-size=4k innodb_zip.index_large_prefix_4k

This test was originally developed to cover an option that was removed
in commit 0c92794db3026cda03218caf4918b996baab6ba6. Starting with
MariaDB Server 10.2, which introduced innodb_default_row_format=dynamic,
the option innodb_large_prefix had become useless.

Let us remove some of the stale tests and adjust the outcome to the
expected behaviour.

86f6129... by Marko Mäkelä

MDEV-21678 innodb_gis.gis_split_nan fails with ER_CANT_CREATE_GEOMETRY_OBJECT

Let us avoid inserting the rows fid=714 and fid=715, because we would
evaluate g=NULL for them, and NULL values are not allowed in InnoDB
SPATIAL INDEX.

Also, let the test run on any page size, and on non-debug builds.

7d7ea79... by Sergei Golubchik

fix "Undefined subroutine &Manager::mtr_lastlinesfromfile"

and "Undefined subroutine &Manager::move"

fba4abf... by Sergei Golubchik

MDEV-32128 wrong table name in innodb's "row too big" errors

a6c0184... by Sergei Golubchik

MDEV-31970 ASAN errors in grn_obj_unlink / ha_mroonga::clear_indexes upon index operations

from upstream