Skip to content

Conversation

@sksk571
Copy link
Contributor

@sksk571 sksk571 commented Mar 20, 2025

Use EnsureConnection(connect: false) in ConfigurationID to obtain connection string. This way connection is not opened synchronously during query generation.

Fixes #4883

@MaceWindu MaceWindu added this to the 6.0.0-rc.1 milestone Mar 22, 2025
@MaceWindu
Copy link
Contributor

Thanks! I will review it a bit later - I have doubts it makes sense to use connection's connection string at all for id calculation...

@MaceWindu
Copy link
Contributor

/azp run test-all

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@linq2dbot
Copy link

Test baselines changed by this PR. Don't forget to merge/close baselines PR after this pr merged/closed.

Copy link
Contributor

@MaceWindu MaceWindu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will merge it for now so it will be a part of upcoming release. Still plan to review used approach in #4894

MaceWindu added a commit to linq2db/linq2db.baselines that referenced this pull request Mar 26, 2025
* [Windows / SQLite (specialized tests)] baselines

* [Windows / SQL CE] baselines

* [Windows / SQL Server 2005] baselines

* [Windows / SQLite (both providers)] baselines

* [Windows / SQL Server 2016] baselines

* [Windows / SQL Server 2008] baselines

* [Windows / SQL Server 2012] baselines

* [Windows / SQL Server 2014] baselines

* [Linux / Firebird 2.5] baselines

* [Linux / DB2 LUW 11.5] baselines

* [Linux / Firebird 3.0] baselines

* [Linux / Informix 14.10] baselines

* [Linux / Firebird 4.0] baselines

* [Linux / Firebird 5.0] baselines

* [Linux / MariaDB 11] baselines

* [Linux / ClickHouse MySql] baselines

* [Windows / SQL Server 2017] baselines

* [Linux / ClickHouse Client] baselines

* [Linux / MySQL 9 (both providers)] baselines

* [Linux / MySQL 5.7 (both providers)] baselines

* [Windows / SQL Server 2019] baselines

* [Windows / Access MDB (Jet/ODBC)] baselines

* [Windows / Access ACE (OLEDB/ODBC) x86] baselines

* [Linux / Oracle 11g XE] baselines

* [Linux / Oracle 12c] baselines

* [Linux / PostgreSQL 13] baselines

* [Windows / SQL Server 2022] baselines

* [Linux / Oracle 21c] baselines

* [Linux / Oracle 18c] baselines

* [Linux / PostgreSQL 14] baselines

* [Linux / ClickHouse Octonica] baselines

* [Linux / PostgreSQL 15] baselines

* [Linux / Oracle 19c] baselines

* [Linux / Oracle 23c] baselines

* [Linux / PostgreSQL 17] baselines

* [Linux / PostgreSQL 16] baselines

* [Linux / Sybase ASE 16] baselines

* [Windows / SQL Server EXTRAS] baselines

* [Linux / SAP HANA 2] baselines

---------

Co-authored-by: Azure Pipelines Bot <[email protected]>
Co-authored-by: MaceWindu <[email protected]>
@MaceWindu MaceWindu merged commit 3196e23 into linq2db:master Mar 26, 2025
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Async query opens connection synchronously

5 participants