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

Fix SQL Server bulk insert edge case #29669

Merged
merged 1 commit into from
Nov 30, 2022
Merged

Conversation

roji
Copy link
Member

@roji roji commented Nov 24, 2022

This moves the application of pending bulk commands to before we snapshot the SQL position, result set count, etc. This way, if the new command goes beyond the parameter limit and causes a rollback, we don't lose the pending bulk commands.

Fixes #29539

@roji roji requested a review from AndriySvyryd November 24, 2022 09:50
@roji roji merged commit 851e47f into dotnet:main Nov 30, 2022
@roji roji deleted the PendingCommandsEdgeCase branch November 30, 2022 10:36
roji added a commit to roji/efcore that referenced this pull request Nov 30, 2022
wtgodbe pushed a commit that referenced this pull request Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants