List:Commits« Previous MessageNext Message »
From:rburnett Date:January 9 2008 9:43pm
Subject:Connector/NET commit: r1143 - in branches/5.1: . Driver/Source
View as plain text  
Modified:
   branches/5.1/Client.build
   branches/5.1/Driver/Source/Connection.cs
Log:
removed some old code from connection that is no longer necessary now that some mono bugs
have been fixed

Modified: branches/5.1/Client.build
===================================================================
--- branches/5.1/Client.build	2008-01-09 20:37:41 UTC (rev 1142)
+++ branches/5.1/Client.build	2008-01-09 20:43:33 UTC (rev 1143)
@@ -46,7 +46,7 @@
     </resgen>
 
     <csc output="${outdir}/MySql.Data.dll" target="library"
-			define="TRACE,${defines}" debug="${debug}" optimize="${opt}"
keycontainer="ConnectorNet"
+			define="TRACE,${defines}" debug="${debug}" optimize="${opt}"
 			doc="${outdir}/MySql.Data.xml">
       <arg value="/nowarn:0679,1591,2029"/>
       <resources prefix="MySql.Data.MySqlClient.Source">

Modified: branches/5.1/Driver/Source/Connection.cs
===================================================================
--- branches/5.1/Driver/Source/Connection.cs	2008-01-09 20:37:41 UTC (rev 1142)
+++ branches/5.1/Driver/Source/Connection.cs	2008-01-09 20:43:33 UTC (rev 1143)
@@ -61,11 +61,6 @@
 
         private static Cache connectionStringCache = new Cache(0, 25);
 
-#if MONO2
-    /// <include file='docs/MySqlConnection.xml' path='docs/StateChange/*'/>
-        public event StateChangeEventHandler StateChange;
-#endif
-
         /// <include file='docs/MySqlConnection.xml' path='docs/DefaultCtor/*'/>
         public MySqlConnection()
         {
@@ -612,16 +607,6 @@
 			return cmd.ExecuteScalar().ToString();
 		}
 
-#if MONO2
-
-        protected void OnStateChange (StateChangeEventArgs stateChangeArgs)
-        {
-            if (StateChange != null)
-                StateChange(this, stateChangeArgs);
-        }
-
-#endif
-
         #region GetSchema Support
 
         /// <summary>

Thread
Connector/NET commit: r1143 - in branches/5.1: . Driver/Sourcerburnett9 Jan