mariadb/mysql-test/suite/innodb_gis/t
Marko Mäkelä 6402ca7870 MDEV-14016 Allow instant ADD COLUMN, ADD INDEX, LOCK=NONE
Ideally, we would move some code from
ha_innobase::prepare_inplace_alter_table() to
ha_innobase::check_if_supported_inplace_alter(),
but the API does not really allow us to return errors; it can
only inform which forms of ALGORITHM and LOCK are allowed.

So, we have to duplicate some logic between the "check" and "prepare"
phases. We do the duplication by calling common functions.

instant_alter_column_possible(): Check if instant column operation
is possible. Invoked from both
ha_innobase::check_if_supported_inplace_alter() and
prepare_inplace_alter_table_dict().

ha_innobase::check_if_supported_inplace_alter(): Before refusing
certain operations if FULLTEXT INDEX exist, check if instant ALTER TABLE
is possible and return early if it is the case.

prepare_inplace_alter_table_dict(): Before checking the limitations
on FULLTEXT INDEX, check if instant ALTER TABLE is possible, and suppress
the checks if it is the case. If instant ADD COLUMN is used when the
table already contains FULLTEXT INDEX, do account for a
hidden FTS_DOC_ID_INDEX in a debug assertion.
2017-11-02 12:08:52 +02:00
..
0.test MDEV-11041 Innodb_gis/ tests taken from MySQL fail. 2016-11-29 16:25:22 +04:00
1.test Merge branch '10.2' into bb-10.2-ext 2017-08-25 10:25:48 +02:00
alter_spatial_index.test MDEV-14016 Allow instant ADD COLUMN, ADD INDEX, LOCK=NONE 2017-11-02 12:08:52 +02:00
bug16236208.test MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
bug16266012.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
bug17057168.test MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
check_rtree.test MDEV-11041 Innodb_gis/ tests taken from MySQL fail. 2016-11-29 16:25:22 +04:00
create_spatial_index.test MDEV-11692 Comparison data type aggregation for pluggable data types 2017-02-01 08:00:50 +04:00
geometry.test MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
gis.test Merge branch '10.2' into bb-10.2-ext 2017-08-25 10:25:48 +02:00
gis_split_inf.test MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
gis_split_nan.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
kill_server.test MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
multi_pk.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
point_basic.test MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
point_big.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
precise.test MDEV-12803 Improve function parameter data type control 2017-05-29 10:29:46 +04:00
repeatable_spatial.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rollback.test Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3 2017-10-30 20:47:39 +04:00
row_format.test MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
rt_precise.test MDEV-11041 Innodb_gis/ tests taken from MySQL fail. 2016-11-29 16:25:22 +04:00
rtree.test Bug#23044098 INSERT OF GIS DATA INTO RTREE HITS ASSERT IN RTR_CUR_RESTORE_POSITION_FUNC() 2017-04-26 23:03:30 +03:00
rtree_compress.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_compress2.test MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
rtree_concurrent_srch.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_create_inplace.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_debug.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_drop_index.test MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
rtree_estimate.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_multi_pk.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_old.test MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
rtree_purge.test MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
rtree_recovery.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_rollback1.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_rollback2.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_search.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_split.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_undo.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
types.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
update_root.test MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00