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

Execute stored procedures directly for RPC calls #2410

Merged
merged 6 commits into from
May 22, 2024
Merged

Execute stored procedures directly for RPC calls #2410

merged 6 commits into from
May 22, 2024

Conversation

tkyc
Copy link
Member

@tkyc tkyc commented May 8, 2024

RPC calls were falling back to old logic of being wrapped in sp_executesql calls to execute. With the PR, moving forward, RPC calls are also directly executed.

Copy link

codecov bot commented May 8, 2024

Codecov Report

Attention: Patch coverage is 16.66667% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 50.20%. Comparing base (f452337) to head (113a111).
Report is 7 commits behind head on main.

❗ Current head 113a111 differs from pull request most recent head b9ac591. Consider uploading reports for the commit b9ac591 to get more accurate results

Files Patch % Lines
...oft/sqlserver/jdbc/SQLServerCallableStatement.java 0.00% 2 Missing and 1 partial ⚠️
...m/microsoft/sqlserver/jdbc/SQLServerStatement.java 0.00% 0 Missing and 1 partial ⚠️
...a/com/microsoft/sqlserver/jdbc/StreamRetValue.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2410      +/-   ##
============================================
+ Coverage     49.88%   50.20%   +0.32%     
- Complexity     3827     3840      +13     
============================================
  Files           145      145              
  Lines         33360    33353       -7     
  Branches       5654     5654              
============================================
+ Hits          16642    16746     +104     
+ Misses        14349    14210     -139     
- Partials       2369     2397      +28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Jeffery-Wasty Jeffery-Wasty added this to the 12.7.1 milestone May 8, 2024
@Jeffery-Wasty
Copy link
Contributor

Noticed some minor formatting issues, please run formatter on files.

lilgreenbird
lilgreenbird previously approved these changes May 14, 2024
@Jeffery-Wasty Jeffery-Wasty modified the milestones: 12.7.1, 12.6.2 May 15, 2024
@tkyc tkyc merged commit df5bfa6 into main May 22, 2024
17 checks passed
@tkyc tkyc deleted the cstmt-rpc-fix branch May 22, 2024 17:48
tkyc added a commit that referenced this pull request May 22, 2024
* RPC fix

* Assertion index correction

* Removed magic number

* Removed login drop command

* Code review changes

* Formatting
Jeffery-Wasty pushed a commit that referenced this pull request May 22, 2024
…2427)

* Fix calling procedures with output parameters by their four-part syntax (#2349)

* Corrected four part syntax regression

* JDK 8 correction

* Execute stored procedures directly for RPC calls (#2410)

* RPC fix

* Assertion index correction

* Removed magic number

* Removed login drop command

* Code review changes

* Formatting

* Test config changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed/Merged PRs
Development

Successfully merging this pull request may close these issues.

4 participants