Skip to content

Constant Type identifiers as parameter of SQL query #147

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 35 commits into from
Nov 28, 2022

Conversation

alex-kulakov
Copy link
Contributor

@alex-kulakov alex-kulakov commented Jun 25, 2021

Some queries had type identifiers as constant columns in SELECT queries. The PR replace them with parameters.

Almost all supported providers support it except for Firebird 2.5, it remains using constants due to inability to have parameter as column in selected columns.

@alex-kulakov alex-kulakov requested a review from AlexUstinov June 25, 2021 06:05
These are used when cast one persistent type to another
# Conflicts:
#	Orm/Xtensive.Orm.PostgreSql/Sql.Drivers.PostgreSql/v8_0/Compiler.cs
#	Orm/Xtensive.Orm/Orm/Providers/SqlCompiler.cs
#	Orm/Xtensive.Orm/Sql/Compiler/SqlCompiler.cs
#	Orm/Xtensive.Orm/Sql/Info/QueryFeatures.cs
@alex-kulakov alex-kulakov merged commit e0f0fd2 into master Nov 28, 2022
@alex-kulakov alex-kulakov deleted the master-typeid-as-parameter branch November 28, 2022 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants