Skip to content

Commit 9bb595b

Browse files
committed
Fixed issue with provider factory not working if provider name exact match for dictionary entry.
Updated log4net to match release used in all my projects.
1 parent 54a1f02 commit 9bb595b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/log4net.dll

28 KB
Binary file not shown.

src/Migrator/ProviderFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static Dialect DialectForProvider(string providerName)
4747

4848
foreach (string key in dialects.Keys)
4949
{
50-
if (0 < key.IndexOf(providerName, StringComparison.InvariantCultureIgnoreCase))
50+
if (key.IndexOf(providerName, StringComparison.InvariantCultureIgnoreCase) >= 0)
5151
return dialects[key];
5252
}
5353
return null;

0 commit comments

Comments
 (0)