Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safer DB transactions #187

Merged
merged 1 commit into from
Mar 6, 2017
Merged

Conversation

bob2021
Copy link
Contributor

@bob2021 bob2021 commented Feb 27, 2017

This is part of a group of PRs containing the changes discussed in issue #152

I've reviewed magento's database transactions and found some that could potentially affect a parent transaction or not close properly (though most are probably harmless)

Copy link
Contributor

@cieslix cieslix left a comment

Choose a reason for hiding this comment

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

I see no BC. Code looks good.

I've tested Admin users/permissions, db backups, reindexing price/stocks, flush cache, submitting orders via checkout/admin panel, sales shipping reports and I haven't noticed any difference in Magento behavior between branch openmage:1.9.2.4 vs bob2021:safe-db-transactions.
I was testing on Magento (PHP7, Mysql 5.7) on branch bob2021:safe-db-transactions with installed Sample data 1.9.1.x and no other changes.

Copy link
Member

@colinmollenhour colinmollenhour left a comment

Choose a reason for hiding this comment

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

I haven't tested but all good changes in my opinion based on diff review.

@tmotyl
Copy link
Contributor

tmotyl commented Mar 3, 2017

shouldn't we make the pull against 1.9.3.x branch?

@bob2021 bob2021 changed the base branch from 1.9.2.4 to 1.9.3.x March 6, 2017 11:14
@bob2021
Copy link
Contributor Author

bob2021 commented Mar 6, 2017

Rebased on 1.9.3.x

@tmotyl tmotyl merged commit e10a4eb into OpenMage:1.9.3.x Mar 6, 2017
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Dec 6, 2017
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Dec 6, 2017
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Feb 28, 2018
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Mar 20, 2018
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Jul 17, 2018
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Sep 19, 2018
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Feb 14, 2019
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Apr 1, 2019
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Aug 22, 2019
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Oct 25, 2019
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants