[Mono-bugs] [Bug 72416][Nor] Changed - The oracleclient parameter implementation does not implement different data types

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 26 Feb 2005 00:20:34 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by danielmorgan@verizon.net.

http://bugzilla.ximian.com/show_bug.cgi?id=72416

--- shadow/72416	2005-02-25 19:19:16.000000000 -0500
+++ shadow/72416.tmp.7433	2005-02-26 00:20:34.000000000 -0500
@@ -81,6 +81,16 @@
 Also, There is probably a typo in the InferOracleType() method for 
 DateTime, as it compares "System.DataType" for date/time, instead 
 of "System.DateTime" (this is not in the patch).
 
 Thanks,
 Curtis.
+
+------- Additional Comments From danielmorgan@verizon.net  2005-02-26 00:20 -------
+Thanks!
+
+Your patch has been committed to svn trunk HEAD.
+
+Usually, you would use a IDisposable pattern, but OracleParameter does
+not have one.  You could free the HGlobal via Dispose() of an
+OracleCommand by looping through the parameters collection to free any
+hglobals that were allocated.