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

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

Closed
Lloyd-Pottiger opened this issue Mar 10, 2025 · 0 comments · Fixed by #9975
Closed

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

Lloyd-Pottiger opened this issue Mar 10, 2025 · 0 comments · Fixed by #9975
Labels
affects-8.5 This bug affects the 8.5.x(LTS) versions. component/storage severity/major type/bug The issue is confirmed as a bug.

Comments

@Lloyd-Pottiger
Copy link
Contributor

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());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-8.5 This bug affects the 8.5.x(LTS) versions. component/storage severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants