-
Notifications
You must be signed in to change notification settings - Fork 458
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
Fix non-lazy conditional evaluation #4533
Conversation
/azp run test-all |
Azure Pipelines successfully started running 1 pipeline(s). |
Test baselines changed by this PR. Don't forget to merge/close baselines PR after this pr merged/closed. |
/azp run test-all |
Azure Pipelines successfully started running 1 pipeline(s). |
Test baselines changed by this PR. Don't forget to merge/close baselines PR after this pr merged/closed. |
/azp run test-all |
Azure Pipelines successfully started running 1 pipeline(s). |
Test baselines changed by this PR. Don't forget to merge/close baselines PR after this pr merged/closed. |
… parsing steps to improve simple queries parsing speed.
# Conflicts: # Source/LinqToDB/Linq/Builder/ParametersContext.cs
/azp run test-all |
Azure Pipelines successfully started running 1 pipeline(s). |
Test baselines changed by this PR. Don't forget to merge/close baselines PR after this pr merged/closed. |
/azp run test-all |
Azure Pipelines successfully started running 1 pipeline(s). |
Test baselines changed by this PR. Don't forget to merge/close baselines PR after this pr merged/closed. |
/azp run test-all |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting nits
Source/LinqToDB/DataProvider/Informix/InformixSqlExpressionConvertVisitor.cs
Outdated
Show resolved
Hide resolved
Source/LinqToDB/DataProvider/Informix/InformixSqlExpressionConvertVisitor.cs
Outdated
Show resolved
Hide resolved
if (e.Method == null && (e.IsLifted || e.Type == typeof(object))) | ||
return placeholder; | ||
|
||
if (e.Method == null && operandExpr is not SqlPlaceholderExpression) | ||
return e; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would prefer to group these two checks as sub-checks of a single if (e.Method is null)
Co-authored-by: Stuart Turner <[email protected]>
Co-authored-by: Stuart Turner <[email protected]>
Co-authored-by: Stuart Turner <[email protected]>
…q2db/linq2db into issue/conditional-evaluation
/azp run test-informix |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run test-all |
Azure Pipelines successfully started running 1 pipeline(s). |
* [Windows / SQLite (both providers)] baselines * [Windows / SQL CE] baselines * [Windows / Access MDB (Jet/ODBC)] baselines * [Windows / SQLite (specialized tests)] baselines * [Windows / SQL Server 2019] baselines * [Windows / SQL Server 2014] baselines * [Windows / SQL Server 2016] baselines * [Windows / SQL Server EXTRAS] baselines * [Linux / DB2 LUW 11.5] baselines * [Windows / SQL Server 2008] baselines * [Linux / Firebird 2.5] baselines * [Windows / SQL Server 2017] baselines * [Linux / Firebird 3.0] baselines * [Linux / Informix 14.10] baselines * [Linux / MariaDB 11] baselines * [Linux / Firebird 5.0] baselines * [Linux / ClickHouse MySql] baselines * [Linux / ClickHouse Client] baselines * [Linux / Firebird 4.0] baselines * [Linux / MySQL 8 (both providers)] baselines * [Linux / MySQL 5.7 (both providers)] baselines * [Linux / PostgreSQL 12] baselines * [Linux / PostgreSQL 13] baselines * [Linux / Oracle 11g XE] baselines * [Windows / SQL Server 2022] baselines * [Linux / PostgreSQL 11] baselines * [Linux / Oracle 12c] baselines * [Linux / PostgreSQL 15] baselines * [Linux / PostgreSQL 14] baselines * [Linux / Oracle 21c] baselines * [Linux / Oracle 19c] baselines * [Linux / PostgreSQL 16] baselines * [Linux / Oracle 23c] baselines * [Linux / Oracle 18c] baselines * [Linux / Sybase ASE 16] baselines * [Linux / ClickHouse Octonica] baselines * [Linux / SQL Server 2019] baselines * [Windows / Access MDB (Jet/ODBC)] baselines * [Windows / SQL Server 2005] baselines * [Windows / SQL Server EXTRAS] baselines * [Windows / SQL Server 2012] baselines * [Windows / Access MDB (Jet/ODBC)] baselines * [Windows / SQL Server 2005] baselines * [Linux / SQL Server 2019] baselines * [Linux / SAP HANA 2] baselines --------- Co-authored-by: Azure Pipelines Bot <[email protected]>
No description provided.