Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow column name with COLLATE as safe SQL string #1083

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

aidanharan
Copy link
Contributor

@aidanharan aidanharan commented Sep 13, 2023

Collation name cannot be quoted in SQL Server. Rails test uses hardcoded values per adapter.

See rails/rails#44384

@aidanharan aidanharan marked this pull request as ready for review September 14, 2023 08:31
@aidanharan aidanharan merged commit bb343a9 into main Sep 14, 2023
@aidanharan aidanharan deleted the order_with_collate branch September 14, 2023 08:32
lavika pushed a commit to lavika/activerecord-sqlserver-adapter that referenced this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant