mariadb/storage
Marko Mäkelä 07e9ff1fe1 MDEV-14378 In ALGORITHM=INPLACE, use a common name for the intermediate tables or partitions
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.
2017-12-08 10:07:51 +02:00
..
archive Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-10-02 22:35:13 +04:00
blackhole Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
cassandra Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
connect Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-11-29 12:06:48 +04:00
csv Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-06-15 15:27:11 +04:00
example Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
federated MDEV-13459 Warnings, when compiling with gcc-7.x 2017-10-17 07:37:39 +02:00
federatedx Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-10-30 16:42:46 +04:00
heap MDEV-13459 Warnings, when compiling with gcc-7.x 2017-10-17 07:37:39 +02:00
innobase MDEV-14378 In ALGORITHM=INPLACE, use a common name for the intermediate tables or partitions 2017-12-08 10:07:51 +02:00
maria Reduce memory used by maria_open 2017-11-02 20:37:26 +02:00
mroonga Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-11-29 12:06:48 +04:00
myisam Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-10-30 16:42:46 +04:00
myisammrg Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-10-02 22:35:13 +04:00
oqgraph Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-10-30 16:42:46 +04:00
perfschema Add more execution stages (commit, rollback, etc) 2017-11-05 22:23:31 +02:00
rocksdb Merge 10.2 into bb-10.2-ext 2017-12-06 19:34:03 +02:00
sequence Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sphinx Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-10-30 16:42:46 +04:00
spider Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-10-02 22:35:13 +04:00
test_sql_discovery MDEV-13712 Spelling errors in the error message 2017-09-18 10:12:23 +02:00
tokudb Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-11-29 12:06:48 +04:00
xtradb Merge 10.2 into bb-10.2-ext 2017-12-07 08:18:43 +02:00