Skip to content

Purge more Invariant culture usages #1689

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

Merged
merged 1 commit into from
May 14, 2018

Conversation

fredericDelaporte
Copy link
Member

Comparing SQL keywords should be done with ordinal comparisons.
But invariant comparisons are kept for object names, because at least with SQL Server these comparisons are collation sensitive. (So ideally object names comparisons should even have their culture configurable...)

An undue current culture comparison for SqlString.EndsWithCaseInsensitive is also fixed.

Follow-up to #1567.

Comparing SQL keywords should be done with ordinal comparisons. But
invariant comparisons are kept for object names, because at least with
SQL Server these comparisons are collation sensitive. (So ideally object
names comparisons should even have their culture configurable...)

An undue current culture comparison for
SqlString.EndsWithCaseInsensitive is also fixed.

Follow-up to nhibernate#1567.
@hazzik hazzik added this to the 5.2 milestone May 14, 2018
@hazzik hazzik merged commit f27fb48 into nhibernate:master May 14, 2018
@fredericDelaporte fredericDelaporte deleted the Invariant branch May 14, 2018 11:52
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.

2 participants