http://bugzilla.novell.com/show_bug.cgi?id=342140

http://bugzilla.novell.com/show_bug.cgi?id=342140#c1


--- Comment #1 from Matthew Smit <[email protected]> 2010-07-17 22:46:59 UTC 
---
This looks like a very simple function to implement. Something like:

--- OdbcConnection.cs    2010-04-22 11:39:08.000000000 -0400
+++ OdbcConnection.cs (working)    2010-07-15 19:42:03.509837712 -0400
@@ -332,7 +332,18 @@
         [MonoTODO]
         object ICloneable.Clone ()
         {
-            throw new NotImplementedException ();
+            OdbcConnection ret =new OdbcConnection ();
+            ret.connectionTimeout = this.connectionTimeout;
+            ret.henv = this.henv;
+            ret.hdbc = this.hdbc;
+            ret.disposed = this.disposed;
+
+            /*is this too shallow?*/
+            ret.transaction = this.transaction;
+            ret.linkedCommands = this.linkedCommands;
+            ret.connectionString = this.connectionString;
+            
+            return ret;
         }

 #if ONLY_1_1

Now this might be too shallow (I’m just copying the references). I’m not
familiar enough with OdbcConnection to make that call.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to