Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
xxhZs committed Dec 13, 2024
1 parent 9a4a026 commit 1408d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/session/cursor_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ fn get_pk_names(pks: &[ColumnOrder], table_catalog: &TableCatalog) -> HashMap<St
pks.iter()
.map(|f| {
let column = table_catalog.columns.get(f.column_index).unwrap();
(column.name().to_string(), column.is_hidden)
(column.name().to_owned(), column.is_hidden)
})
.collect()
}

0 comments on commit 1408d71

Please sign in to comment.