Update src/Storages/MergeTree/MutateTask.cpp

Co-authored-by: Dmitry Novik <mrnovikd@gmail.com>
This commit is contained in:
mochi 2024-01-22 22:02:50 +08:00 committed by GitHub
parent 02b178cc9c
commit 0606a77267
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -676,7 +676,7 @@ static NameToNameVector collectFilesForRenames(
{ {
const std::vector<String> suffixes = {".idx2", ".idx", ".gin_dict", ".gin_post", ".gin_seg", ".gin_sid"}; const std::vector<String> suffixes = {".idx2", ".idx", ".gin_dict", ".gin_post", ".gin_seg", ".gin_sid"};
for (const auto& suffix : suffixes) for (const auto & suffix : suffixes)
{ {
String filename = INDEX_FILE_PREFIX + command.column_name + suffix; String filename = INDEX_FILE_PREFIX + command.column_name + suffix;