Skip to content

Commit

Permalink
feat: index.short_name保留大小写
Browse files Browse the repository at this point in the history
  • Loading branch information
cyz-2023 authored and wy1433 committed Apr 18, 2024
1 parent ab4618c commit 294d054
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/schema_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,8 @@ void SchemaFactory::update_index(TableInfo& table_info, const pb::IndexInfo& ind
std::transform(lower_index_name.begin(), lower_index_name.end(),
lower_index_name.begin(), ::tolower);
idx_info.name = table_info.name + "." + lower_index_name;
idx_info.short_name = lower_index_name;
// idx_info.short_name = lower_index_name;
idx_info.short_name = index.index_name();
idx_info.type = index.index_type();
idx_info.state = index.state();
idx_info.max_field_id = table_info.max_field_id;
Expand Down

0 comments on commit 294d054

Please sign in to comment.