Skip to content

Conversation

cincuranet
Copy link
Contributor

@cincuranet cincuranet commented Oct 14, 2025

Backport of #36956 and #36961.

Description

SQLite introduced change in 3.48.0 in how encrypted databases are allowed to access - now even statements not actually touching database itself have to go through de-encryption. Because we quote the password using SELECT quote($password) statement, this started failing. This change uses temporary in-memory database connection to execute this statement.

Customer impact

Failure when trying to open encrypted database (even with correct password) on 3.48.0 or newer.

How found

Customer reported.

Regression

No.

Testing

Tests already present. This is change is required because of change in underlying SQLite.

Risk

Low.

Copy link
Member

@artl93 artl93 left a comment

Choose a reason for hiding this comment

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

Approved for me for GA; reactive to external change not in our control

@cincuranet cincuranet merged commit 211a6ec into dotnet:release/10.0 Oct 14, 2025
7 checks passed
@cincuranet cincuranet deleted the backport-quote branch October 14, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants