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.
|
peterbae
left a comment
There was a problem hiding this comment.
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 BULKSQL statement to the server, which in case of an exception needs to be cancelled too.