-
Notifications
You must be signed in to change notification settings - Fork 150
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
Avoid infinite loop calling svp_release() #97
Conversation
|
Thank you for the contribution. Is there a chance you could add a failing-without-this test case to the end of https://github.com/dbsrgits/dbix-class/blob/master/t/storage/savepoints.t ? If you do not have time to do this - that is ok: the issue will be eventually resolved either way, but an accompanying test is a hard prerequisite to applying this change. |
|
I was hoping you were not going to say that :) Give me a day or two and I'll add something. On 10.03.2016 15:46, Peter Rabbitson wrote:
|
|
Test added. On the old code it fails, on the new code if passes. |
|
This has been applied with a leaner implementation as 7fd61b1fc. The pop is now localised in one spot, and I also removed the alarm-harness, as the test will not be executed on older versions given it is all in one commit. Thank you for your work! |
|
ARGH! I didn't wait for the smokes to finish, failures on older sqlite. Will re-push in a bit, and update the commit SHA |
|
Aight, the correct commit is f5f0cb1dd ;) |
|
The position of your test (after another block) managed to uncover and lead to a fix of another bug: 66c817df1, so double-cheers ;) |
|
Glad to be of service :) The bug in DBIx::Class I fixed highlighted a bug in our own code so it On 30.03.2016 21:37, Peter Rabbitson wrote:
|
|
The fix is now properly in the CPAN index. Sorry it took so long :/ |
We hit a bug in our tests when we rolled back twice to the same savepoint. Although this was our bug we only found out when the test never never completed and used much CPU on a Jenkins box.