Skip to content

Commit

Permalink
fix: fix spell typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbtp committed Dec 31, 2023
1 parent 0e1d37a commit 3119174
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/catalog/src/information_schema/key_column_usage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ impl InformationSchemaKeyColumnUsageBuilder {
.upgrade()
.context(UpgradeWeakCatalogManagerRefSnafu)?;

let mut time_index_constaints = vec![];
let mut time_index_constraints = vec![];
let mut primary_constraints = vec![];

for schema_name in catalog_manager.schema_names(&catalog_name).await? {
Expand All @@ -223,7 +223,7 @@ impl InformationSchemaKeyColumnUsageBuilder {

for (idx, column) in schema.column_schemas().iter().enumerate() {
if column.is_time_index() {
time_index_constaints.push((
time_index_constraints.push((
schema_name.clone(),
table_name.clone(),
column.name.clone(),
Expand All @@ -245,7 +245,7 @@ impl InformationSchemaKeyColumnUsageBuilder {
}

for (i, (schema_name, table_name, column_name)) in
time_index_constaints.into_iter().enumerate()
time_index_constraints.into_iter().enumerate()
{
self.add_key_column_usage(
&schema_name,
Expand Down

0 comments on commit 3119174

Please sign in to comment.