-
-
Notifications
You must be signed in to change notification settings - Fork 75
Use a ConcurrentDictionary to remember which calls did work #1147
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
Conversation
This is needed to avoid unnecessary EntryPointNotFoundException exceptions, as they massively slow down program execution - especially in development environments.
|
It was a deliberate decision to not remember the action as successful or failed when an exception other than |
src/FirebirdSql.Data.FirebirdClient/Client/Native/FesStatement.cs
Outdated
Show resolved
Hide resolved
Using nameof(IFBClient.xyz), and StringComparer.Ordinal.
|
Hi, thank you for your review. I made the two requested changes. |
|
@cincuranet Hi, I made the requested changes. Are there any other open points with this PR? |
cincuranet
left a comment
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.
Sorry for late reply. Few nits here and there, after that it should be ready to merge.
src/FirebirdSql.Data.FirebirdClient/Client/Native/FbClientFactory.cs
Outdated
Show resolved
Hide resolved
src/FirebirdSql.Data.FirebirdClient/Client/Native/FesStatement.cs
Outdated
Show resolved
Hide resolved
src/FirebirdSql.Data.FirebirdClient/Client/Native/FesStatement.cs
Outdated
Show resolved
Hide resolved
- No line breaks before arguments - No whitespace between cast operator and casted value
|
@cincuranet Hi, I made all requested style fixes. Thank you for your review. |
cincuranet
left a comment
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.
LGTM. Thanks.
This is needed to avoid unnecessary EntryPointNotFoundException exceptions, as they massively slow down program execution - especially in development environments.
Fixes #1146