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

Reduce duplication of collation declaration code #5654

Merged
merged 1 commit into from
Sep 6, 2022

Conversation

morozov
Copy link
Member

@morozov morozov commented Sep 5, 2022

It is safe to quote collation in the default implementation of getColumnCollationDeclarationSQL() since those platforms where the case sensitivity of an identifier depends on whether it's quoted (Oracle, IBM DB2) do not support column collation anyways.

SQL Server does not support quoting collation identifiers, so we'll handle it as a special case.

@morozov morozov added this to the 3.5.0 milestone Sep 5, 2022
It is safe to quote collation in the default implementation of
getColumnCollationDeclarationSQL() since those platforms where the case
sensitivity of an identifier depends on whether it's quoted (Oracle,
IBM DB2) do not support column collation anyways.
@morozov morozov force-pushed the collation-declaration-duplication branch from bdc345b to 832f51a Compare September 5, 2022 18:51
@morozov morozov marked this pull request as ready for review September 5, 2022 19:12
@morozov morozov merged commit d7a8f43 into doctrine:3.5.x Sep 6, 2022
@morozov morozov deleted the collation-declaration-duplication branch September 6, 2022 21:44
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants