-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Conversation
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.
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.
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.
I haven't tested but all good changes in my opinion based on diff review.
shouldn't we make the pull against 1.9.3.x branch? |
83e61b1
to
74db00d
Compare
Rebased on 1.9.3.x |
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)