Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
ddl: fix cancel drop table/database ddl job bug. #8537
What problem does this PR solve?
related same PR #8171.
Currently, If we cancel drop table/database ddl in
This PR fix above problem, if successfully cancel the drop table/database ddl, we should make TiDB infoschema to reload the table/database.
What is changed and how it works?
Only allow cancel drop database/table before the job first run.
Cancel create table/database will be ok in currentlly, and this pr also add test for this.