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

Blob fix #595

Merged
merged 27 commits into from
Mar 6, 2018
Merged

Blob fix #595

merged 27 commits into from
Mar 6, 2018

Conversation

rene-ye
Copy link
Member

@rene-ye rene-ye commented Jan 3, 2018

Fills the contents of a blob and makes it availible for use after the RS or statement has been closed. Addresses the TDS issue from #567.

Fills the contents of a blob and makes it availible for use after the RS or statement has been closed. Addresses the TDS issue from microsoft#567.
@codecov-io
Copy link

codecov-io commented Jan 3, 2018

Codecov Report

Merging #595 into dev will increase coverage by 0.19%.
The diff coverage is 65%.

Impacted file tree graph

@@             Coverage Diff              @@
##                dev     #595      +/-   ##
============================================
+ Coverage     46.37%   46.57%   +0.19%     
- Complexity     2216     2228      +12     
============================================
  Files           109      109              
  Lines         25411    25431      +20     
  Branches       4188     4190       +2     
============================================
+ Hits          11784    11844      +60     
+ Misses        11602    11548      -54     
- Partials       2025     2039      +14
Flag Coverage Δ Complexity Δ
#JDBC42 46.36% <65%> (+0.07%) 2220 <8> (+9) ⬆️
#JDBC43 46.43% <65%> (+0.21%) 2224 <8> (+15) ⬆️
Impacted Files Coverage Δ Complexity Δ
...va/com/microsoft/sqlserver/jdbc/SQLServerBlob.java 34.19% <60%> (+0.68%) 18 <2> (+2) ⬆️
...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java 33.27% <66.66%> (+0.89%) 246 <6> (+8) ⬆️
...om/microsoft/sqlserver/jdbc/ReaderInputStream.java 42.69% <0%> (-2.25%) 14% <0%> (-2%)
...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java 52.67% <0%> (+0.06%) 239% <0%> (ø) ⬇️
...rc/main/java/com/microsoft/sqlserver/jdbc/dtv.java 63.2% <0%> (+0.24%) 0% <0%> (ø) ⬇️
...in/java/com/microsoft/sqlserver/jdbc/IOBuffer.java 54.33% <0%> (+0.59%) 0% <0%> (ø) ⬇️
...rc/main/java/com/microsoft/sqlserver/jdbc/DDC.java 44.92% <0%> (+0.67%) 105% <0%> (+2%) ⬆️
...ncurrentlinkedhashmap/ConcurrentLinkedHashMap.java 39.4% <0%> (+0.85%) 43% <0%> (+1%) ⬆️
...m/microsoft/sqlserver/jdbc/SQLServerException.java 76.85% <0%> (+1.65%) 29% <0%> (+1%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 923a6f4...152e71b. Read the comment docs.

Fix to issue microsoft#611, where calling length() would close the stream.
rene-ye and others added 5 commits January 30, 2018 10:19
fix for automatic credential discarding
To debug a random mismatch error which can't be reproduced locally.
@cheenamalhotra cheenamalhotra added this to Under Peer Review in MSSQL JDBC Feb 9, 2018
rene-ye and others added 7 commits February 22, 2018 13:18
removed arraylist to avoid costly traversal. Blobs now fill anytime the resultset moves its cursor.
added tests which specifically test blob streams and behavior after the RS is closed.
This reverts commit bc074f2, reversing
changes made to 19e8339.
No longer fills blobs on every checkClosed() call. Only attempts to fill them in scenarios where the cursor moves or another change of state which causes the RS to lose its active stream.
wasNull() moves the cursor for some reason, need to fill blobs.
@rene-ye rene-ye added this to the 6.5.0 milestone Feb 27, 2018
@ulvii ulvii self-requested a review February 28, 2018 16:46
testing expected behavior if users release a blob() object
@eacarvalho
Copy link

Hi all,
Please, I'd like to know if there is an expected date to release this pull request. It will be in the 6.5.0 release? Actually the current version is 6.4.0.
Thanks a lot.

@rene-ye
Copy link
Member Author

rene-ye commented Mar 1, 2018

This PR will be in 6.5.0-preview, which will be released sometime in March, when ready.

@rene-ye rene-ye merged commit db0f41a into microsoft:dev Mar 6, 2018
MSSQL JDBC automation moved this from Under Peer Review to Closed/Merged PRs Mar 6, 2018
@rene-ye rene-ye deleted the blobStream branch March 6, 2018 20:30
@Lonzak
Copy link

Lonzak commented Aug 6, 2021

I have a question: I don't see a final release of 6.5. Did all the changes of 6.5 went into version 7.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
MSSQL JDBC
  
Closed/Merged PRs
Development

Successfully merging this pull request may close these issues.

None yet

5 participants