Skip to content

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