mariadb/mysql-test/suite/innodb_gis/r
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.result Merge branch '10.2' into bb-10.2-ext 2017-08-25 10:25:48 +02:00
1.result Merge branch '10.2' into bb-10.2-ext 2017-08-25 10:25:48 +02:00
alter_spatial_index.result MDEV-14016 Allow instant ADD COLUMN, ADD INDEX, LOCK=NONE 2017-11-02 12:08:52 +02:00
bug16236208.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
bug16266012.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
bug17057168.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
check_rtree.result
create_spatial_index.result Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-05-05 16:12:54 +04:00
geometry.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
gis.result Merge branch '10.2' into bb-10.2-ext 2017-08-25 10:25:48 +02:00
gis_split_inf.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
gis_split_nan.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
kill_server.result MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
multi_pk.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
point_basic.result MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
point_big.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
precise.result MDEV-12803 Improve function parameter data type control 2017-05-29 10:29:46 +04:00
repeatable_spatial.result MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
rollback.result Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3 2017-10-30 20:47:39 +04:00
row_format.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rt_precise.result MDEV-12462 SPATIAL index fails to work with CONTAINS. 2017-05-02 16:24:42 +04:00
rtree.result MDEV-13716 point_big test fails in 10.2. 2017-09-12 11:58:49 +04:00
rtree_compress.result MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
rtree_compress2.result MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
rtree_concurrent_srch.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_crash.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_create_inplace.result MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
rtree_debug.result MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
rtree_drop_index.result MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
rtree_estimate.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_multi_pk.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_old.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_purge.result MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
rtree_recovery.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_rollback1.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_rollback2.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_search.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_split.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00
rtree_undo.result MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
types.result MariaDB adjustments to innodb_gis tests. 2017-10-25 06:47:08 +03:00
update_root.result MDEV-13626: Merge InnoDB test cases from MySQL 5.7 2017-10-25 06:47:08 +03:00