Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Lock] Split PdoStore into DoctrineDbalStore#43332
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carsonbot commentedOct 6, 2021
Hey! To help keep things organized, we don't allow "Draft" pull requests. Could you please click the "ready for review" button or close this PR and open a new one when you are done? Note that a pull request does not have to be "perfect" or "ready for merge" when you first open it. We just want it to be ready for a first review. Cheers! Carsonbot |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
derrabus commentedOct 6, 2021
I think, we can simplify
This should allow us to remove all DBAL-related code from |
derrabus commentedOct 6, 2021
Oh, and thank you very much for working on this topic! |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
39bcf0c to7922f8bCompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
6a80a44 tof7d493aCompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
952ca0e toaf32763Comparederrabus commentedOct 7, 2021
Can you take a look at the failing tests? |
derrabus left a comment
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.
Great work, thank you!
fabpot commentedOct 19, 2021
Thank you@GromNaN. |
martinssipenko commentedNov 30, 2021
GromNaN commentedNov 30, 2021
This is actually a regression. |
martinssipenko commentedNov 30, 2021
…able + add tests (HypeMC)This PR was merged into the 5.4 branch.Discussion----------[Cache][HttpFoundation][Lock] Fix PDO store not creating table + add tests| Q | A| ------------- | ---| Branch? | 5.4| Bug fix? | yes| New feature? | no| Deprecations? | no| Issues | -| License | MITUnlike e.g. SQLite, PostgreSQL doesn't throw an exception on `$conn->prepare()` if the table is missing, it instead throws it on `$stmt->execute()`, so the table never gets created.The table used to get created, but the behavior was broken with#43332.Commits-------cb5d832 [Cache][Lock] Fix PDO store not creating table + add tests
Uh oh!
There was an error while loading.Please reload this page.
Main changes:
DoctrineDbalStoreandDoctrineDbalPostgreSqlStore.Doctrine\DBAL\Connectionor<driver>://DSN inPdoStoreorPostgreSqlStoreis deprecated in 5.4 and will be removed in 6.0. UseDoctrineDbalStoreorDoctrineDbalPostgreSqlStoreinstead.DoctrineDbalStore(thanks to numerical params)DoctrineDbalStoreorDoctrineDbalPostgreSqlStoreis instanced, instead of the first usage of the connection.