mariadb/storage
Marko Mäkelä cc2ddde4d8 MDEV-18518 follow-up fixes
Make DDL operations that involve FULLTEXT INDEX atomic.
In particular, we must drop the internal FTS_ tables in the same
DDL transaction with ALTER TABLE.

Remove all references to fts_drop_orphaned_tables().

row_merge_drop_temp_indexes(): Drop also the internal FTS_ tables
that are associated with index stubs that were created in
prepare_inplace_alter_table_dict() for
CREATE FULLTEXT INDEX before the server was killed.

fts_clear_all(): Remove the fts_drop_tables() call. It has to be
executed before the transaction is committed!

dict_load_indexes(): Do not load any metadata for index stubs
that had been created by prepare_inplace_alter_table_dict()

fts_create_one_common_table(), fts_create_common_tables(),
fts_create_one_index_table(), fts_create_index_tables():
Remove redundant error handling. The tables will be dropped
just fine by dict_drop_index_tree().

commit_try_norebuild(): Also drop the FTS_ tables when dropping
FULLTEXT INDEX.

The changes to the test case innodb_fts.crash_recovery has been
extensively tested. The non-debug server will be killed while
the 3 ALTER TABLE are in any phase of execution. With the debug
server, DEBUG_SYNC should make the test deterministic.
2021-05-06 16:04:29 +03:00
..
archive Merge 10.4 into 10.5 2021-04-21 09:01:01 +03:00
blackhole Merge 10.3 into 10.4 2020-11-03 14:49:17 +02:00
columnstore new column store 5.5.2-2 2021-05-02 09:06:27 +02:00
connect MDEV-23908: Implement SELECT ... OFFSET ... FETCH ... 2021-04-21 14:09:14 +03:00
csv Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
example remove mysql_declare_plugin declaration from some plugins 2020-07-04 01:44:47 +02:00
federated Fix various spelling errors still found in code 2021-03-22 18:10:39 +11:00
federatedx MDEV-22775: Merge 10.4 into 10.5 2021-04-08 08:08:53 +03:00
heap Fix various spelling errors still found in code 2021-03-22 18:10:39 +11:00
innobase MDEV-18518 follow-up fixes 2021-05-06 16:04:29 +03:00
maria Merge 10.5 into 10.6 2021-05-04 07:37:38 +03:00
mroonga cleanup: Refactor select_limit in select lex 2021-04-21 14:08:58 +03:00
myisam Merge 10.4 into 10.5 2021-04-21 09:01:01 +03:00
myisammrg Added 'final' to some classes to improve generated code 2020-08-04 17:27:32 +02:00
oqgraph Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
perfschema Merge 10.5 into 10.6 2021-04-22 08:43:03 +03:00
rocksdb Merge 10.5 into 10.6 2021-04-21 11:45:00 +03:00
sequence Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
sphinx Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
spider Merge 10.5 into 10.6 2021-05-04 07:37:38 +03:00
test_sql_discovery MDEV-19632 Replication aborts with ER_SLAVE_CONVERSION_FAILED upon CREATE ... SELECT in ORACLE mode 2020-08-01 07:43:50 +04:00