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

Alter stored procedure execution to deal with statements that commit transactions #1852

Merged
merged 4 commits into from
Jun 27, 2023

Conversation

zachmu
Copy link
Member

@zachmu zachmu commented Jun 26, 2023

This change adds checks to begin a new transaction whenever there isn't one during stored procedure execution. This lets things like dolt_commit() execute correctly in stored procedures.

@zachmu zachmu requested a review from max-hoffman June 26, 2023 22:26
Copy link
Contributor

@max-hoffman max-hoffman left a comment

Choose a reason for hiding this comment

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

lgtm, i guess the other stored procedure nodes don't need transactions? just every goto?

@zachmu
Copy link
Member Author

zachmu commented Jun 27, 2023

lgtm, i guess the other stored procedure nodes don't need transactions? just every goto?

This could be incomplete, I'm going to take a deeper pass when I go through and rewrite everything.

@zachmu zachmu merged commit 05e4a9d into main Jun 27, 2023
@Hydrocharged Hydrocharged deleted the zachmu/procedures branch August 24, 2023 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants