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

Merge | Cleanup Pre 2005 Support in TdsParser #3206

Merged
merged 8 commits into from
Mar 11, 2025

Conversation

benrr101
Copy link
Contributor

@benrr101 benrr101 commented Mar 7, 2025

Rebuilding #3085 under the dotnet repo in order to complete full CI, original description is as follows


Now that #2839 is merged, the Pre 2005 Code can be removed from netfx to align netfx & netcore code for future merge of TdsParser.

It also removes asserts that were used to gate 2005-only code

The code does not aim to remove Pre 2005 Code from other classes

This is working towards #2953

@benrr101 benrr101 added Code Health 💊 Issues/PRs that are targeted to source code quality improvements. Common Project 🚮 Things that relate to the common project project labels Mar 7, 2025
@benrr101 benrr101 added this to the 7.0-preview1 milestone Mar 7, 2025
@benrr101 benrr101 requested a review from a team March 7, 2025 01:01
benrr101 added 2 commits March 7, 2025 11:50
- Removing _is2005
- Removing ENV_CHANGE types that are not supported in TDS >7
Copy link

codecov bot commented Mar 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.58%. Comparing base (87b5435) to head (2a54720).
Report is 8 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #3206       +/-   ##
===========================================
+ Coverage   72.57%   92.58%   +20.00%     
===========================================
  Files         288        6      -282     
  Lines       59526      310    -59216     
===========================================
- Hits        43201      287    -42914     
+ Misses      16325       23    -16302     
Flag Coverage Δ
addons 92.58% <ø> (ø)
netcore ?
netfx ?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@benrr101 benrr101 merged commit cb4f568 into main Mar 11, 2025
252 checks passed
@benrr101 benrr101 deleted the dev/russellben/mz-pre2005-cleanup branch March 11, 2025 20:11
Wraith2 pushed a commit to Wraith2/SqlClient that referenced this pull request Mar 11, 2025
* Cleanup Pre 2005 Support in TdsParser

* Fix some code indentation issues

* Fix some code indentation issues

* Add back isVersion8

* PR Comments
- Removing _is2005
- Removing ENV_CHANGE types that are not supported in TDS >7

---------

Co-authored-by: Michel Zehnder <[email protected]>
Co-authored-by: Cheena Malhotra <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Health 💊 Issues/PRs that are targeted to source code quality improvements. Common Project 🚮 Things that relate to the common project project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants