Skip to content

Existing index infoes in ColumnFileTiny are missed after add new indexes. #9972

@Lloyd-Pottiger

Description

@Lloyd-Pottiger

Bug Report

if (file->index_infos)
file->index_infos->insert(file->index_infos->end(), index_infos->begin(), index_infos->end());

It should be:

if (const auto & file_index_info = file->getIndexInfos(); file_index_info)
        index_infos->insert(index_infos->end(), file_index_info->begin(), file_index_info->end());

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions