Skip to content

Conversation

@joelonsql
Copy link
Contributor

The condition schema2 == schema2 was always true. Changed to schema1 == schema2 to properly compare schemas when ordering overloaded functions.

The condition `schema2 == schema2` was always true. Changed to
`schema1 == schema2` to properly compare schemas when ordering
overloaded functions.
Comment on lines +13 to +14
- Fix incorrect ordering of overloaded functions when schemas differ by @joelonsql in #4554
+ The `Ord` instance for `Routine` had a typo comparing `schema2 == schema2` instead of `schema1 == schema2`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would be the observable effect for the user here? We should put that down in the changelog, not the code change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants