-
Notifications
You must be signed in to change notification settings - Fork 303
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
Correct GetParseSynonyms' failing debug assertion #3088
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3088 +/- ##
==========================================
- Coverage 72.74% 72.73% -0.01%
==========================================
Files 283 283
Lines 58968 58968
==========================================
- Hits 42894 42891 -3
- Misses 16074 16077 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -132,7 +132,7 @@ private enum Keywords | |||
private bool _transparentNetworkIPResolution = DbConnectionStringDefaults.TransparentNetworkIPResolution; | |||
private string _networkLibrary = DbConnectionStringDefaults.NetworkLibrary; | |||
#else | |||
internal const int DeprecatedKeywordsCount = 5; |
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.
Can we get rid of this counter?
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 don't think so. It's used to mark keywords which are supported in .NET Framework but not in .NET Core. These are Connection Reset and Network Library. Connection Reset should be a fairly easy keyword to merge, but Network Library needs a little more thought - what connection method should we use if the Network Library keyword requests named pipes, but the Server keyword requests TCP?
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.
" if the Network Library keyword requests named pipes, but the Server keyword requests TCP"
Invalid connection string?
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.
Not needed, because the connection would fail itself.
Deprecation wise, network library is replaced with 'tcp/np:' in DataSource property, so we need not worry about handling it.
Replacing this proposal with #3098 |
Fixes #3016