| 1 |
# Variation of discarded partition test which takes data |
| 2 |
# from v8.0.20, upgrades and compares results |
| 3 |
# |
| 4 |
# Have a look at include/discarded_partition.inc for more details |
| 5 |
|
| 6 |
--source include/have_innodb_16k.inc |
| 7 |
--source include/not_valgrind.inc |
| 8 |
--source include/have_case_sensitive_file_system.inc |
| 9 |
|
| 10 |
--echo # Testing discarded partitions imported from 8.0.20 |
| 11 |
--let $discarded_partition_option = PREPARE_FROM_8020 |
| 12 |
--source suite/innodb/include/discarded_partition.inc |
| 13 |
|
| 14 |
--let $discarded_partition_option = SELECT_TEST |
| 15 |
--source suite/innodb/include/discarded_partition.inc |
| 16 |
|
| 17 |
--let $discarded_partition_option = REBUILD_PARTITION_TEST |
| 18 |
--source suite/innodb/include/discarded_partition.inc |
| 19 |
|
| 20 |
--let $discarded_partition_option = CREATE_SECONDARY_INDEX_TEST |
| 21 |
--source suite/innodb/include/discarded_partition.inc |
| 22 |
|
| 23 |
--let $discarded_partition_option = DROP_TEST |
| 24 |
--source suite/innodb/include/discarded_partition.inc |
| 25 |
|
| 26 |
--let $discarded_partition_option = CLEANUP_FROM_8020 |
| 27 |
--source suite/innodb/include/discarded_partition.inc |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
--disable_query_log |
| 32 |
call mtr.add_suppression("\\[Warning\\].* Tablespace .*, name '.*', file '.*' is missing"); |
| 33 |
call mtr.add_suppression("\\[Warning\\].* Tablespace for table `.*`\\.`.*` /\\* Partition `.*` \\*/ is set as discarded"); |
| 34 |
call mtr.add_suppression("\\[Warning\\].* Cannot calculate statistics for table `.*`.`.*` /\\* Partition `.*` \\*/ because the \\.ibd file is missing\\. Please refer to http://dev\\.mysql\\.com/doc/refman/8.0/en/innodb-troubleshooting\\.html for how to resolve the issue"); |
| 35 |
--enable_query_log |
| 36 |
|