1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-24364 Alter rename table does not remove PFS share

Add missed PSI_CALL_drop_table_share().
This commit is contained in:
Aleksey Midenkov
2020-12-22 16:42:33 +03:00
parent 113f18686d
commit ed5d675c75
3 changed files with 23 additions and 0 deletions

View File

@ -10956,6 +10956,8 @@ do_continue:;
{
/* The original table is the backup */
backup_name= alter_ctx.table_name;
PSI_CALL_drop_table_share(0, alter_ctx.db.str, (int) alter_ctx.db.length,
alter_ctx.table_name.str, (int) alter_ctx.table_name.length);
}
// Rename the new table to the correct name.