mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Rename IGNORED INDEX tests to match the SQL syntax
ignore_indexes -> ignored_index ignore_indexes_innodb -> ignored_index_innodb
This commit is contained in:
16
mysql-test/main/ignored_index_innodb.test
Normal file
16
mysql-test/main/ignored_index_innodb.test
Normal file
@ -0,0 +1,16 @@
|
||||
--source include/have_innodb.inc
|
||||
|
||||
#
|
||||
# Check if marking index as [not] ignored is an instant operation with InnoDB
|
||||
#
|
||||
create table t1 (a int, b int, key a1(a)) engine=innodb;
|
||||
insert into t1 values (1,1),(2,2),(3,3);
|
||||
|
||||
set alter_algorithm='instant';
|
||||
alter table t1 alter index a1 ignored;
|
||||
|
||||
alter table t1 alter index a1 not ignored;
|
||||
|
||||
set alter_algorithm=default;
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user