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] fix cleanup of expired items for PdoAdapter#23326

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

Merged
fabpot merged 1 commit intosymfony:3.2fromdmaicher:cache-pdo-cleanup-fix
Jul 3, 2017

Conversation

@dmaicher
Copy link
Contributor

QA
Branch?3.2
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#23313
LicenseMIT
Doc PR-

This fixes the query being executed to cleanup expired items from thecache_items table using thePdoAdapter.

I also added a test case to make sure we do the cleanup successfully.

* @throws InvalidArgumentException When namespace contains invalid characters
* @throws\InvalidArgumentException When first argument is not PDO nor Connection nor string
* @throws\InvalidArgumentException When PDO error mode is not PDO::ERRMODE_EXCEPTION
* @throws\InvalidArgumentException When namespace contains invalid characters
Copy link
Contributor

Choose a reason for hiding this comment

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

These were OK ;-)

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Ah you are right! Did not see theuse Symfony\Component\Cache\Exception\InvalidArgumentException 😋

@dmaicherdmaicherforce-pushed thecache-pdo-cleanup-fix branch from6fd9516 toc183b0eCompareJuly 1, 2017 10:17
@fabpot
Copy link
Member

Thank you@dmaicher.

@fabpotfabpot merged commitc183b0e intosymfony:3.2Jul 3, 2017
fabpot added a commit that referenced this pull requestJul 3, 2017
…her)This PR was merged into the 3.2 branch.Discussion----------[Cache] fix cleanup of expired items for PdoAdapter| Q             | A| ------------- | ---| Branch?       | 3.2| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#23313| License       | MIT| Doc PR        | -This fixes the query being executed to cleanup expired items from the `cache_items` table using the `PdoAdapter`.I also added a test case to make sure we do the cleanup successfully.Commits-------c183b0e [Cache] fix cleanup of expired items for PdoAdapter
This was referencedJul 4, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhxabbuh approved these changes

+1 more reviewer

@ro0NLro0NLro0NL left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@dmaicher@fabpot@ro0NL@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp