projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update Reference Sources to .NET Framework 4.6.1
[mono.git]
/
mcs
/
class
/
referencesource
/
System.Data
/
System
/
Data
/
ProviderBase
/
DbConnectionInternal.cs
diff --git
a/mcs/class/referencesource/System.Data/System/Data/ProviderBase/DbConnectionInternal.cs
b/mcs/class/referencesource/System.Data/System/Data/ProviderBase/DbConnectionInternal.cs
index 96a6729dd25969420d40e6a7ba541740cebb3071..b55df0aecd23df5a5c669804a2780c01fd51fe63 100644
(file)
--- a/
mcs/class/referencesource/System.Data/System/Data/ProviderBase/DbConnectionInternal.cs
+++ b/
mcs/class/referencesource/System.Data/System/Data/ProviderBase/DbConnectionInternal.cs
@@
-467,6
+467,9
@@
namespace System.Data.ProviderBase {
SetInStasis();
}
else {
+#if MONO_PARTIAL_DATA_IMPORT
+ Dispose();
+#else
#if !MOBILE
PerformanceCounters.NumberOfNonPooledConnections.Decrement();
#endif
@@
-474,6
+477,7
@@
namespace System.Data.ProviderBase {
{
Dispose();
}
+#endif
}
}
}