[Mono-bugs] [Bug 60613][Maj] Changed - NullReferenceException in OracleDataReader.GetSchemaTable caused by JIT optimizations

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 24 Jun 2004 12:09:38 -0400 (EDT)


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 lupus@ximian.com.

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

--- shadow/60613	2004-06-24 11:49:20.000000000 -0400
+++ shadow/60613.tmp.28314	2004-06-24 12:09:38.000000000 -0400
@@ -188,6 +188,12 @@
 not set to an instance of an object
 in <0x0036b> System.Data.OracleClient.OracleDataReader:GetSchemaTable ()
 in <0x000cb> Bug.MainClass:Main (string[])
 
 So simply accessing the ErrorHandle property after this call results
 in a segfault.
+
+------- Additional Comments From lupus@ximian.com  2004-06-24 12:09 -------
+Ok, could you put:
+row ["NumericScale"]		= parameter.GetScale ();
+before the GetPrecision call and test again?
+Just to make sure that it's the GetPrecision() call that mangles memory.