Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug #27545888 MYSQLD CRASHES WHEN RENAMING AN INNODB TABLE WITH FOREIGN
KEY AND FULLTEXT KEY PROBLEM When renaming a table, foreign key constraint name is duplicated and is not handled therefore crashes later during query execution. FIX Handle the particulary duplicate key error case by exiting function and return error to server. NOTE: For 8.0+, Added to this issue fixed another issue that we are writing rename log in case of rollback also so made the call to row_rename_table_for_mysql based on the replay hint coming from fts_rename_aux_tables. Also added crash injection test incase of rename table crash/recovery rollback. Reviewd by: Jimmy Yang< Jimmy.Yang@oracle.com> Bin su <bin.x.su@oracle.com> RB: 19785 & 19828
- Loading branch information