Bläddra i källkod

2005-03-15 Sureshkumar T <[email protected]>

	* OdbcConnection.cs: re-throw error on exception in Open method.


svn path=/trunk/mcs/; revision=41836
Sureshkumar T 21 år sedan
förälder
incheckning
12ea47e504

+ 4 - 0
mcs/class/System.Data/System.Data.Odbc/ChangeLog

@@ -1,3 +1,7 @@
+2005-03-15  Sureshkumar T  <[email protected]>
+
+	* OdbcConnection.cs: re-throw error on exception in Open method.
+
 2005-03-11  Sureshkumar T  <[email protected]>
 
 	* OdbcConnection.cs : notify state change through event. clean up

+ 1 - 0
mcs/class/System.Data/System.Data.Odbc/OdbcConnection.cs

@@ -376,6 +376,7 @@ namespace System.Data.Odbc
                         } catch (Exception) {
                                 // free handles if any.
                                 FreeHandles ();
+                                throw;
                         }
 		}