Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Cache] remove Doctrine DBAL < 3.3 related code#52685

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
xabbuh wants to merge1 commit intosymfony:7.0fromxabbuh:pr-52459

Conversation

@xabbuh
Copy link
Member

@xabbuhxabbuh commentedNov 22, 2023
edited
Loading

QA
Branch?7.0
Bug fix?no
New feature?no
Deprecations?no
Issues
LicenseMIT

following the merge up of#52459

@carsonbot
Copy link

Hey!

Thanks for your PR. You are targeting branch "7.1" but it seems your PR description refers to branch "7.0".
Could you update the PR description or change target branch? This helps core maintainers a lot.

Cheers!

Carsonbot

@xabbuhxabbuh changed the base branch from7.1 to7.0November 22, 2023 09:46
@xabbuhxabbuh modified the milestones:7.1,7.0Nov 22, 2023
// The condition should be removed once support for DBAL <3.3 is dropped
$conn =method_exists($this->conn,'getNativeConnection') ?$this->conn->getNativeConnection() :$this->conn->getWrappedConnection();
$conn =$this->conn->getNativeConnection();
if ($conninstanceof ServerInfoAwareConnection) {
Copy link
Member

Choose a reason for hiding this comment

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

Hmm, this does not really make sense. If we callgetNativeConnection(), we get the native handle of the PHP extension used, e.g. amysqli instance or ansqlsrv resource. Those objects/resources won't ever implementServerInfoAwareConnection. Something's off here.

Copy link
MemberAuthor

@xabbuhxabbuhNov 24, 2023
edited
Loading

Choose a reason for hiding this comment

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

I guess you are right. Looks like we first need to fix it in a way similar to#52715.

nicolas-grekas added a commit that referenced this pull requestNov 24, 2023
This PR was merged into the 5.4 branch.Discussion----------[Cache] fix detecting the database server version| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Issues        |#52685 (comment)| License       | MITCommits-------33a65ca fix detecting the database server version
symfony-splitter pushed a commit to symfony/cache that referenced this pull requestNov 24, 2023
This PR was merged into the 5.4 branch.Discussion----------[Cache] fix detecting the database server version| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Issues        |symfony/symfony#52685 (comment)| License       | MITCommits-------33a65ca9cd5 fix detecting the database server version
@derrabus
Copy link
Member

My alternative proposal:#52720.

@xabbuh
Copy link
MemberAuthor

closing in favour of#52720

@xabbuhxabbuh closed thisNov 25, 2023
@xabbuhxabbuh deleted the pr-52459 branchNovember 25, 2023 18:03
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@derrabusderrabusderrabus left review comments

Assignees

No one assigned

Projects

None yet

Milestone

7.0

Development

Successfully merging this pull request may close these issues.

3 participants

@xabbuh@carsonbot@derrabus

[8]ページ先頭

©2009-2025 Movatter.jp