Skip to content

Conversation

spoyler
Copy link

@spoyler spoyler commented Dec 12, 2022

Add release for savepoint after rollabck in destructor for deleting it form sqlite transaction stack.

@SRombauts SRombauts self-assigned this Dec 12, 2022
@SRombauts SRombauts added the bug label Dec 12, 2022
@SRombauts
Copy link
Owner

Thanks for providing this :)

I think the main issue is that the old unit test didn't show that there was a bug, and now it doesn't prove either that the bug is fixed.
Could you add a test for that? It's not urgent but it would definitely help ensure it works as expected, and also show how it is expected to behave

@SRombauts SRombauts merged commit 343299a into SRombauts:master Dec 15, 2022
@SRombauts
Copy link
Owner

OK, I merged it without the unit tests.

I should rename the rollback() method to rollbackTo() now that I understand better the differences!

Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants