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

Added nested transactions support for SqlServer #19439

Merged
merged 1 commit into from
Jun 1, 2017
Merged

Added nested transactions support for SqlServer #19439

merged 1 commit into from
Jun 1, 2017

Conversation

Crinsane
Copy link
Contributor

@Crinsane Crinsane commented Jun 1, 2017

This PR adds support for nested transactions in SqlServer. Currently the QueryGrammar for SqlServer returns false for supportsSavepoints, but it seems SqlServer does actually support those.

https://docs.microsoft.com/en-us/sql/t-sql/language-elements/save-transaction-transact-sql

This PR simply changes the supportsSavepoints method to return true and it adds the specific grammar for SqlServer to compile a savepoint and a rollback from a savepoint.

@Crinsane
Copy link
Contributor Author

Crinsane commented Jun 1, 2017

This should also fix #19415

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