Skip to content

Commit b586858

Browse files
Fix comparison typo which disables all catalog checks (#821)
1 parent ecb6244 commit b586858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/codegen/golang/compat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ func sameTableName(n *ast.TableName, f core.FQN, defaultSchema string) bool {
1313
if n.Schema == "" {
1414
schema = defaultSchema
1515
}
16-
return n.Catalog == n.Catalog && schema == f.Schema && n.Name == f.Rel
16+
return n.Catalog == f.Catalog && schema == f.Schema && n.Name == f.Rel
1717
}

0 commit comments

Comments
 (0)