mariadb/storage/innobase/handler
Marko Mäkelä 9a815401c6 MDEV-17043 Purge of indexed virtual columns may cause hang on table-rebuilding DDL
When a table is renamed to an internal #sql2 or #sql-ib name during
a table-rebuilding DDL operation such as OPTIMIZE TABLE or ALTER TABLE,
and shortly after that a purge operation in an index on virtual columns
is attempted, the operation could fail, but purge would fail to release
the table reference.

innodb_acquire_mdl(): Release the reference if the table name is not
valid for acquiring a meta-data lock (MDL).

innodb_find_table_for_vc(): Add a debug assertion if the table name
is not valid. This code path is for DML execution. The table
should have a valid name for executing DML, and furthermore a MDL
will prevent the table from being renamed.

row_vers_build_clust_v_col(): Add a debug assertion that both indexes
must belong to the same table.
2018-08-23 13:11:11 +03:00
..
ha_innodb.cc MDEV-17043 Purge of indexed virtual columns may cause hang on table-rebuilding DDL 2018-08-23 13:11:11 +03:00
ha_innodb.h MDEV-16557 Remove INNOBASE_SHARE::idx_trans_tbl 2018-08-02 18:05:59 +03:00
ha_xtradb.h MDEV-12121 follow-up: Unbreak the WITH_INNODB_AHI=OFF build 2018-01-15 15:40:28 +02:00
handler0alter.cc MDEV-16557 Remove INNOBASE_SHARE::idx_trans_tbl 2018-08-02 18:05:59 +03:00
i_s.cc Merge 10.1 into 10.2 2018-08-02 08:19:57 +03:00
i_s.h Merge 10.1 into 10.2 2017-05-22 09:46:51 +03:00