-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Add system.detached_parts table. #5353
Conversation
it != Poco::DirectoryIterator(); ++it) | ||
{ | ||
res.resize(res.size() + 1); | ||
auto & part = res.back(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, it's pre-C++11 pattern. Now it's better to create an object and move it into vector (if the move is not expensive).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll use emplace_back if you don't mind, not to write push_back in four places.
5fa5507
to
43655a8
Compare
#5164
For changelog. Remove if this is non-significant change.
Added system.detached_parts table containing information about detached parts of MergeTree tables.
Category (leave one):