diff -ur mysql-connector-net-5.0.2.old/Client.build mysql-connector-net-5.0.2/Client.build
--- mysql-connector-net-5.0.2.old/Client.build 2006-11-13 14:31:30.000000000 +0100
+++ mysql-connector-net-5.0.2/Client.build 2006-11-13 14:31:40.000000000 +0100
@@ -5,7 +5,7 @@
-
+
@@ -38,7 +38,6 @@
-
@@ -53,39 +52,24 @@
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
@@ -96,90 +80,16 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
public event MySqlInfoMessageEventHandler InfoMessage;
-#if MONO
- ///
- public event StateChangeEventHandler StateChange;
-#endif
-
///
public MySqlConnection()
{
@@ -469,16 +464,6 @@
SetState(ConnectionState.Closed);
}
-#if MONO
-
- protected void OnStateChange (StateChangeEventArgs stateChangeArgs)
- {
- if (StateChange != null)
- StateChange(this, stateChangeArgs);
- }
-
-#endif
-
#region GetSchema Support
public override DataTable GetSchema()
diff -ur mysql-connector-net-5.0.2.old/mysqlclient/Installer.cs mysql-connector-net-5.0.2/mysqlclient/Installer.cs
--- mysql-connector-net-5.0.2.old/mysqlclient/Installer.cs 2006-11-13 14:31:30.000000000 +0100
+++ mysql-connector-net-5.0.2/mysqlclient/Installer.cs 2006-11-13 14:31:40.000000000 +0100
@@ -109,7 +109,7 @@
ccdc.Add(new CounterCreationData(Resources.PerfMonSoftProcName,
Resources.PerfMonSoftProcHelp, PerformanceCounterType.NumberOfItems32));
PerformanceCounterCategory.Create(categoryName, Resources.PerfMonCategoryHelp,
- PerformanceCounterCategoryType.SingleInstance, ccdc);
+ ccdc);
}
}
diff -ur mysql-connector-net-5.0.2.old/mysqlclient/MySqlPromotableTransaction.cs mysql-connector-net-5.0.2/mysqlclient/MySqlPromotableTransaction.cs
--- mysql-connector-net-5.0.2.old/mysqlclient/MySqlPromotableTransaction.cs 2006-11-13 14:31:30.000000000 +0100
+++ mysql-connector-net-5.0.2/mysqlclient/MySqlPromotableTransaction.cs 2006-11-13 14:31:40.000000000 +0100
@@ -59,14 +59,6 @@
connection.CurrentTransaction = null;
}
-//TODO: remove this once Mono corrects this bug
-#if MONO
- Transaction IPromotableSinglePhaseNotification.Promote()
- {
- throw new NotSupportedException();
- }
-#endif
-
byte[] ITransactionPromoter.Promote()
{
throw new NotSupportedException();
diff -ur mysql-connector-net-5.0.2.old/mysqlclient/parameter.cs mysql-connector-net-5.0.2/mysqlclient/parameter.cs
--- mysql-connector-net-5.0.2.old/mysqlclient/parameter.cs 2006-11-13 14:31:30.000000000 +0100
+++ mysql-connector-net-5.0.2/mysqlclient/parameter.cs 2006-11-13 14:31:40.000000000 +0100
@@ -230,11 +230,7 @@
#if !CF
[Category("Data")]
#endif
-#if MONO
- public override byte Precision
-#else
public byte Precision
-#endif
{
get { return precision; }
set { precision = value; }
@@ -246,11 +242,7 @@
#if !CF
[Category("Data")]
#endif
-#if MONO
- public override byte Scale
-#else
public byte Scale
-#endif
{
get { return scale; }
set { scale = value; }