-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Implement savepoint API for Microsoft.Data.Sqlite #22869
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
throw new InvalidOperationException(Resources.TransactionCompleted); | ||
} | ||
|
||
_connection.ExecuteNonQuery("SAVEPOINT " + savepointName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delimit and escape the identifier. Terminate statements.
SAVEPOINT "The ""SaveChanges"" Savepoint";
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done (though curious why terminate with semilcolon)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IDK, statements just feel incomplete without a semicolon. 🤷♂️ But yeah, probably a waste of memory and CPU...
Sorry, should have just reused the old PR and addressed the comments. |
611b33b
to
3903dff
Compare
Hello @roji! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Closes #20228
Rebases #22273 against main