Skip to content

Commit

Permalink
Fix migration idempotency
Browse files Browse the repository at this point in the history
  • Loading branch information
jkosh44 committed Dec 18, 2024
1 parent 619116d commit 81e0b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapter/src/catalog/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ fn ast_rewrite_sources_to_tables(
let tables_for_source =
items_with_statements_copied
.iter()
.any(|(item, statement)| match statement {
.any(|(_, statement)| match statement {
Statement::CreateTableFromSource(stmt) => {
let source: GlobalId = match &stmt.source {
RawItemName::Name(_) => {
Expand Down

0 comments on commit 81e0b56

Please sign in to comment.