Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUES-6063 support drop mysql database engine #8202

Conversation

zhang2014
Copy link
Contributor

@zhang2014 zhang2014 commented Dec 13, 2019

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category:

  • Improvement

Changelog entry:
Support DROP DATABASE & DETACH TABLE & DROP TABLE & ATTACH TABLE for MySQL Database Engine.

Detailed description (optional):
#6063

  • DETACH TABLE (Restart server table re visible)
  • DROP TABLE (Restart server table is not visible)
  • ATTACH TABLE (All of the above can be re visible using attach)

@zhang2014 zhang2014 changed the title ISSUES-6063 support detach and drop table for mysql database engine ISSUES-6063 support drop mysql database engine Dec 13, 2019
@zhang2014 zhang2014 force-pushed the feature/support_drop_mysql_database branch from fed6817 to 713923e Compare December 13, 2019 11:48
}

constexpr static const auto suffix = "_remove.flag";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will work correctly. But I recomment .remove_flag or .remove.flag just to avoid concatenation of table name with _remove.

Please compare:

items_to_remove_remove.flag
items_to_remove.remove_flag

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@alexey-milovidov alexey-milovidov merged commit 39a8f1e into ClickHouse:master Dec 14, 2019
@KochetovNicolai KochetovNicolai added the pr-improvement Pull request with some product improvements label Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-improvement Pull request with some product improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants