-
Notifications
You must be signed in to change notification settings - Fork 426
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
Fixed issues in BulkCopy exception handling #801
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #801 +/- ##
===========================================
+ Coverage 48.11% 48.2% +0.08%
+ Complexity 2783 2781 -2
===========================================
Files 116 116
Lines 27862 27853 -9
Branches 4641 4640 -1
===========================================
+ Hits 13407 13426 +19
+ Misses 12235 12203 -32
- Partials 2220 2224 +4
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## dev #801 +/- ##
============================================
+ Coverage 48.11% 48.18% +0.06%
- Complexity 2783 2785 +2
============================================
Files 116 116
Lines 27862 27853 -9
Branches 4641 4640 -1
============================================
+ Hits 13407 13422 +15
+ Misses 12235 12211 -24
Partials 2220 2220
Continue to review full report at Codecov.
|
2 similar comments
Codecov Report
@@ Coverage Diff @@
## dev #801 +/- ##
============================================
+ Coverage 48.11% 48.18% +0.06%
- Complexity 2783 2785 +2
============================================
Files 116 116
Lines 27862 27853 -9
Branches 4641 4640 -1
============================================
+ Hits 13407 13422 +15
+ Misses 12235 12211 -24
Partials 2220 2220
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## dev #801 +/- ##
============================================
+ Coverage 48.11% 48.18% +0.06%
- Complexity 2783 2785 +2
============================================
Files 116 116
Lines 27862 27853 -9
Branches 4641 4640 -1
============================================
+ Hits 13407 13422 +15
+ Misses 12235 12211 -24
Partials 2220 2220
Continue to review full report at Codecov.
|
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.
I looked pretty vigorously into this to see if the changes break anything, but I couldn't find anything. lgtm
IOBuffer.execute()
, which is the only method that callsdoInsertBulk()
.this.tdsMessageType == TDS.PKT_BULK
, because prior toTDS.PKT_BULK
, the driver has already sentINSERT BULK
SQL statement to the server, which in case of an exception needs to be cancelled too.