mariadb/mysql-test/suite
Marko Mäkelä 754727bb8a MDEV-14378 In ALGORITHM=INPLACE, use a common name for the intermediate tables or partitions
This is a backport of commit 07e9ff1fe1.

Allow DROP TABLE `#mysql50##sql-...._.` to drop tables that were
being rebuilt by ALGORITHM=INPLACE

NOTE: If the server is killed after the table-rebuilding ALGORITHM=INPLACE
commits inside InnoDB but before the .frm file has been replaced, then
the recovery will involve something else than DROP TABLE.

NOTE: If the server is killed in a true inplace ALTER TABLE commits
inside InnoDB but before the .frm file has been replaced, then we
are really out of luck. To properly handle that situation, we would
need a transactional mysql.ddl_fixup table that directs recovery to
rename or remove files.

prepare_inplace_alter_table_dict(): Use the altered_table->s->table_name
for generating the new_table_name.

table_name_t::part_suffix: The start of the partition name suffix.

table_name_t::dbend(): Return the end of the schema name.

table_name_t::dblen(): Return the length of the schema name, in bytes.

table_name_t::basename(): Return the name without the schema name.

table_name_t::part(): Return the partition name, or NULL if none.

row_drop_table_for_mysql(): Assert for #sql, not #sql-ib.
2018-09-07 22:10:03 +03:00
..
archive
binlog Merge 10.1 into 10.2 2018-08-02 08:19:57 +03:00
binlog_encryption Allow tests to work with cmake -DPLUGIN_PARTITION=NO 2018-05-29 17:14:34 +03:00
csv
encryption Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
engines Merge 10.1 into 10.2 2018-03-21 22:58:52 +02:00
federated Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
funcs_1 MDEV-14637: Fix hang due to persistent statistics 2018-08-03 08:33:38 +03:00
funcs_2
galera Remove a reference to a non-existing test 2018-08-31 18:10:55 +03:00
galera_3nodes Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
gcol MDEV-13564 Mariabackup does not work with TRUNCATE 2018-09-07 22:10:02 +03:00
handler Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
heap Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
innodb MDEV-14378 In ALGORITHM=INPLACE, use a common name for the intermediate tables or partitions 2018-09-07 22:10:03 +03:00
innodb_fts MDEV-13564 Mariabackup does not work with TRUNCATE 2018-09-07 22:10:02 +03:00
innodb_gis MDEV-14637: Fix hang due to persistent statistics 2018-08-03 08:33:38 +03:00
innodb_zip MDEV-13564 Mariabackup does not work with TRUNCATE 2018-09-07 22:10:02 +03:00
jp
json MDEV-15561 json_extract returns NULL with numbers in scientific notation. 2018-03-25 00:15:11 +04:00
large_tests
maria Merge 10.1 into 10.2 2018-08-31 15:10:02 +03:00
mariabackup MDEV-13564 Mariabackup does not work with TRUNCATE 2018-09-07 22:10:02 +03:00
mtr/t
mtr2
multi_source
optimizer_unfixed_bugs
parts Merge 10.1 into 10.2 2018-08-02 08:19:57 +03:00
percona
perfschema Merge 10.1 into 10.2 2018-05-29 16:52:12 +03:00
perfschema_stress
plugins Merge 10.1 into 10.2 2018-08-31 15:10:02 +03:00
roles fix mtr warnings after 5f0510225a 2018-06-24 15:18:36 +02:00
rpl Merge 10.1 into 10.2 2018-08-21 15:20:34 +03:00
storage_engine
stress
sys_vars MDEV-16934 Query with very large IN clause lists runs slowly 2018-08-17 14:28:39 -07:00
unit Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
vcol MDEV-16961 Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed upon concurrent DELETE and DDL with virtual blob column 2018-08-22 22:18:44 +02:00
wsrep Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00