mariadb/mysql-test/suite/parts/t
Monty eca5c2c67f Added support for more functions when using partitioned S3 tables
MDEV-22088 S3 partitioning support

All ALTER PARTITION commands should now work on S3 tables except

REBUILD PARTITION
TRUNCATE PARTITION
REORGANIZE PARTITION

In addition, PARTIONED S3 TABLES can also be replicated.
This is achived by storing the partition tables .frm and .par file on S3
for partitioned shared (S3) tables.

The discovery methods are enchanced by allowing engines that supports
discovery to also support of the partitioned tables .frm and .par file

Things in more detail

- The .frm and .par files of partitioned tables are stored in S3 and kept
  in sync.
- Added hton callback create_partitioning_metadata to inform handler
  that metadata for a partitoned file has changed
- Added back handler::discover_check_version() to be able to check if
  a table's or a part table's definition has changed.
- Added handler::check_if_updates_are_ignored(). Needed for partitioning.
- Renamed rebind() -> rebind_psi(), as it was before.
- Changed CHF_xxx hadnler flags to an enum
- Changed some checks from using table->file->ht to use
  table->file->partition_ht() to get discovery to work with partitioning.
- If TABLE_SHARE::init_from_binary_frm_image() fails, ensure that we
  don't leave any .frm or .par files around.
- Fixed that writefrm() doesn't leave unusable .frm files around
- Appended extension to path for writefrm() to be able to reuse to function
  for creating .par files.
- Added DBUG_PUSH("") to a a few functions that caused a lot of not
  critical tracing.
2020-04-19 17:33:51 +03:00
..
alter_data_directory_innodb.test MDEV-15953 Alter InnoDB Partitioned Table Moves Files (which were originally not in the datadir) to the datadir 2018-06-26 11:11:15 +03:00
cache.test MDEV Assertion `partition_id == m_extra_cache_part_id' failed in ha_partition::late_extra_no_cache 2017-12-12 15:10:53 +02:00
fulltext.test MDEV-17627 Assertion `inited==RND' failed in handler::ha_rnd_end() upon actions on partitioned table with FTS 2019-07-12 19:38:10 +02:00
insert_ignore-5421.test MDEV-5421 Assertion `! is_set()' fails on INSERT IGNORE when a table has no partition for a value 2014-01-23 00:03:05 +01:00
longname.test Merge branch '5.5' into 10.0 2017-07-06 23:47:33 +02:00
optimizer.test Fixed warnings and build failures after last push 2010-08-02 19:39:45 +03:00
part_blocked_sql_func_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
part_blocked_sql_func_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
part_ctype_utf32.test Bug#52121 partition by key on utf32 enum field cause debug assertion: (length % 4) == 0 2010-08-23 13:56:21 +04:00
part_supported_sql_func_innodb.test 5.5-merge 2011-07-02 22:08:51 +02:00
part_supported_sql_func_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_alter1_1_2_innodb.test 5.5-merge 2011-07-02 22:08:51 +02:00
partition_alter1_1_2_myisam.test Fix many test failures in parts test suite with --embedded-server. 2009-10-09 15:08:09 +02:00
partition_alter1_1_innodb.test MDEV-4786 - merge 10.0-monty - 10.0 2013-07-30 17:50:48 +04:00
partition_alter1_1_myisam.test Fix many test failures in parts test suite with --embedded-server. 2009-10-09 15:08:09 +02:00
partition_alter1_2_innodb.test 5.5-merge 2011-07-02 22:08:51 +02:00
partition_alter1_2_myisam.test Fix many test failures in parts test suite with --embedded-server. 2009-10-09 15:08:09 +02:00
partition_alter2_1_1_innodb.test 5.5-merge 2011-07-02 22:08:51 +02:00
partition_alter2_1_2_innodb.test Bug#56659: Mismatch of CAPITAL vs small letters in "unified filelist" partitioning output 2010-09-15 10:22:12 +02:00
partition_alter2_1_maria.test rename maria to aria 2010-09-12 18:40:01 +02:00
partition_alter2_1_myisam.test Speed up mtr --parallel=<lots> by scheduling some slow tests earlier. 2011-01-03 15:33:39 +01:00
partition_alter2_2_1_innodb.test merge. 2010-11-25 18:17:28 +01:00
partition_alter2_2_2_innodb.test Bug#56659: Mismatch of CAPITAL vs small letters in "unified filelist" partitioning output 2010-09-15 10:22:12 +02:00
partition_alter2_2_maria.test rename maria to aria 2010-09-12 18:40:01 +02:00
partition_alter2_2_myisam.test Speed up mtr --parallel=<lots> by scheduling some slow tests earlier. 2011-01-03 15:33:39 +01:00
partition_alter3_innodb.test Fix many test failures in parts test suite with --embedded-server. 2009-10-09 15:08:09 +02:00
partition_alter3_myisam.test Fix many test failures in parts test suite with --embedded-server. 2009-10-09 15:08:09 +02:00
partition_alter4_innodb.test 5.5-merge 2011-07-02 22:08:51 +02:00
partition_alter4_myisam.test Added missing 'source' command. 2009-10-28 10:08:54 +02:00
partition_alter_innodb.test MDEV-13788 Server crash when issuing bad SQL partition syntax 2017-11-20 09:33:19 +04:00
partition_alter_instant.test Merge 10.3 into 10.4 2020-03-30 14:50:23 +03:00
partition_alter_maria.test MDEV-13982 Server crashes in in ha_partition::engine_name 2018-02-14 19:12:23 +01:00
partition_alter_myisam.test Merge branch '10.1' into 10.2 2018-02-22 08:39:24 +01:00
partition_auto_increment_archive.test Bug#45823 Assertion failure in file row/row0mysql.c line 1386 2009-09-04 09:27:11 +05:30
partition_auto_increment_blackhole.test Bug#45823 Assertion failure in file row/row0mysql.c line 1386 2009-09-04 09:27:11 +05:30
partition_auto_increment_innodb.test Bug#38804: Query deadlock causes all tables to be inaccessible. 2008-09-08 15:30:01 +02:00
partition_auto_increment_maria.test rename maria to aria 2010-09-12 18:40:01 +02:00
partition_auto_increment_max.test MDEV-9519: Data corruption will happen on the Galera cluster size change 2019-02-26 08:09:04 +02:00
partition_auto_increment_memory.test Bug#38804: Query deadlock causes all tables to be inaccessible. 2008-09-08 15:30:01 +02:00
partition_auto_increment_myisam.test Bug#38804: Query deadlock causes all tables to be inaccessible. 2008-09-08 15:30:01 +02:00
partition_basic_innodb.test 10.0-monty merge 2013-07-21 16:39:19 +02:00
partition_basic_myisam.test Fix many test failures in parts test suite with --embedded-server. 2009-10-09 15:08:09 +02:00
partition_basic_symlink_innodb.test MDEV-16678: Ignore #sql-ib tables in --suite=parts 2020-01-24 12:59:56 +02:00
partition_basic_symlink_myisam.test Fix many test failures in parts test suite with --embedded-server. 2009-10-09 15:08:09 +02:00
partition_bigint_innodb.test MDEV-10621 parts.partition_float_myisam failed with timeout in buildbot 2017-02-18 20:42:46 +02:00
partition_bigint_myisam.test MDEV-10621 parts.partition_float_myisam failed with timeout in buildbot 2017-02-18 20:42:46 +02:00
partition_bit_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_bit_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_char_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_char_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_datetime_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_datetime_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_debug.test MDEV-21360 debug_dbug pre-test value restoration issues 2020-01-15 18:06:24 +01:00
partition_debug_innodb-master.opt Remove deprecated InnoDB file format parameters 2017-06-02 09:36:14 +03:00
partition_debug_innodb.test Added support for more functions when using partitioned S3 tables 2020-04-19 17:33:51 +03:00
partition_debug_myisam-master.opt --getopt-prefix-matching command-line option 2015-02-10 10:21:15 +01:00
partition_debug_myisam.test MDEV-19455: Avoid SET DEBUG_DBUG='-d,...' construct 2019-10-11 14:02:35 +03:00
partition_debug_sync_innodb-master.opt lots of post-merge changes 2011-04-25 17:22:25 +02:00
partition_debug_sync_innodb.test MDEV-16678: Ignore #sql-ib tables in --suite=parts 2020-01-24 12:59:56 +02:00
partition_decimal_innodb.test Increase version number 2011-02-28 19:47:19 +02:00
partition_decimal_myisam.test Increase version number 2011-02-28 19:47:19 +02:00
partition_double_innodb.test MDEV-10621 parts.partition_float_myisam failed with timeout in buildbot 2017-02-18 20:42:46 +02:00
partition_double_myisam.test MDEV-10621 parts.partition_float_myisam failed with timeout in buildbot 2017-02-18 20:42:46 +02:00
partition_engine_innodb.test Fix many test failures in parts test suite with --embedded-server. 2009-10-09 15:08:09 +02:00
partition_engine_myisam.test Fix many test failures in parts test suite with --embedded-server. 2009-10-09 15:08:09 +02:00
partition_exch_innodb.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_myisam.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_myisam_innodb.test cleanup parts.partition_exch_* tests 2017-09-18 10:40:26 +02:00
partition_exch_qa.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_qa_1_innodb.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_qa_1_myisam.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_qa_2.test cleanup parts.partition_exch_* tests 2017-09-18 10:40:26 +02:00
partition_exch_qa_3.test cleanup parts.partition_exch_* tests 2017-09-18 10:40:26 +02:00
partition_exch_qa_4_innodb.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_qa_4_myisam.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_qa_5_innodb.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_qa_5_myisam.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_qa_6.test Merge branch '10.1' into 10.2 2017-09-19 12:43:02 +03:00
partition_exch_qa_7_innodb.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_qa_7_myisam.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_qa_8_innodb.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_qa_8_myisam.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_qa_10.test MDEV-6247: Merge 10.0-galera to 10.1. 2014-08-26 15:43:46 +03:00
partition_exch_qa_11.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_qa_12.test (Part#2) MDEV-13049 Querying INFORMATION_SCHEMA becomes slow in MariaDB 10.1 2017-10-31 13:00:20 +04:00
partition_exch_qa_13.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exch_qa_14.test MDEV-13157 Specifying DATA DIRECTORY in tables leads to failing EXCHANGE PARTITION 2017-09-18 10:40:26 +02:00
partition_exch_qa_15.test cleanup parts.partition_exch_* tests 2017-09-18 10:40:26 +02:00
partition_exchange_archive.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exchange_blackhole.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exchange_innodb.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exchange_memory.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_exchange_myisam.test MDEV-4864 - Merge tests for EXCHANGE PARTITION feature 2013-09-27 16:58:49 +04:00
partition_float_innodb.test MDEV-10621 parts.partition_float_myisam failed with timeout in buildbot 2017-02-18 20:42:46 +02:00
partition_float_myisam.test MDEV-10621 parts.partition_float_myisam failed with timeout in buildbot 2017-02-18 20:42:46 +02:00
partition_innodb_status_file-master.opt merge with 5.3 2011-10-19 21:45:18 +02:00
partition_innodb_status_file.test MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
partition_int_innodb.test MDEV-10621 parts.partition_float_myisam failed with timeout in buildbot 2017-02-18 20:42:46 +02:00
partition_int_myisam.test MDEV-10621 parts.partition_float_myisam failed with timeout in buildbot 2017-02-18 20:42:46 +02:00
partition_mdev6067.test MDEV-6067: Partitioned table DML sometimes binlogged without XID event 2014-04-11 09:03:53 +02:00
partition_mediumint_innodb.test MDEV-10621 parts.partition_float_myisam failed with timeout in buildbot 2017-02-18 20:42:46 +02:00
partition_mediumint_myisam.test MDEV-10621 parts.partition_float_myisam failed with timeout in buildbot 2017-02-18 20:42:46 +02:00
partition_mgm_lc0_archive.test WL#4444 Added TRUNCATE partition support, fixes bug#19405 and bug #35111 2009-09-10 11:15:39 +02:00
partition_mgm_lc0_innodb.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc0_memory.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc0_myisam.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_archive-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_archive.test WL#4444 Added TRUNCATE partition support, fixes bug#19405 and bug #35111 2009-09-10 11:15:39 +02:00
partition_mgm_lc1_innodb-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_innodb.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_memory-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_memory.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_myisam-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_myisam.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_archive-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_archive.test WL#4444 Added TRUNCATE partition support, fixes bug#19405 and bug #35111 2009-09-10 11:15:39 +02:00
partition_mgm_lc2_innodb-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_innodb.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_memory-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_memory.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_myisam-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_myisam.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_open.test MDEV-11084 Select statement with partition selection against MyISAM table opens all partitions. 2018-01-29 11:01:14 +04:00
partition_recover_myisam-master.opt --getopt-prefix-matching command-line option 2015-02-10 10:21:15 +01:00
partition_recover_myisam.test merge with 5.3 2011-10-19 21:45:18 +02:00
partition_repair_myisam-master.opt --getopt-prefix-matching command-line option 2015-02-10 10:21:15 +01:00
partition_repair_myisam.test Adjusted tests after the fix for bug mdev-9976. 2017-01-31 20:37:26 -08:00
partition_smallint_innodb.test MDEV-10621 parts.partition_float_myisam failed with timeout in buildbot 2017-02-18 20:42:46 +02:00
partition_smallint_myisam.test MDEV-10621 parts.partition_float_myisam failed with timeout in buildbot 2017-02-18 20:42:46 +02:00
partition_special_innodb-master.opt lots of post-merge changes 2011-04-25 17:22:25 +02:00
partition_special_innodb.test Bug#19784790: ASSERTION `PART_SHARE->PARTITIONS_SHARE_REFS->NUM_PARTS 2020-04-19 17:33:51 +03:00
partition_special_myisam.test MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
partition_syntax_innodb.test Fix many test failures in parts test suite with --embedded-server. 2009-10-09 15:08:09 +02:00
partition_syntax_myisam.test Fix many test failures in parts test suite with --embedded-server. 2009-10-09 15:08:09 +02:00
partition_tinyint_innodb.test MDEV-10621 parts.partition_float_myisam failed with timeout in buildbot 2017-02-18 20:42:46 +02:00
partition_tinyint_myisam.test MDEV-10621 parts.partition_float_myisam failed with timeout in buildbot 2017-02-18 20:42:46 +02:00
partition_value_innodb.test Fix for Bug#40904 20 tests in 5.1 are disabled in a bad manner 2008-12-08 15:36:42 +01:00
partition_value_myisam.test Fix for Bug#40904 20 tests in 5.1 are disabled in a bad manner 2008-12-08 15:36:42 +01:00
print_error.test fixes for test failures 2018-02-24 12:29:07 +01:00
reorganize_partition_innodb.test Merge 10.1 into 10.2 2019-09-11 08:48:00 +03:00
rpl_partition.test Merge branch '10.1' into 10.2 2017-09-22 02:27:00 +02:00
show_create.test MDEV-13089 identifier quoting in partitioning 2018-09-21 20:22:14 +02:00
truncate_locked.test MDEV-15551 Server hangs or assertion `strcmp(share->unique_file_name,filename) || share->last_version' fails in test_if_reopen or unexpected ER_LOCK_DEADLOCK 2018-07-19 11:35:39 +02:00
update_and_cache.test MDEV-16741 Assertion `m_extra_cache' failed in ha_partition::late_extra_cache 2018-09-10 19:30:06 +02:00