[Mono-bugs] [Bug 73157][Nor] Changed - ODBC type SQL_NUMERIC gives InvalidCastException
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 2 Mar 2005 10:01:05 -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 timo-mono@pokorra.de.
http://bugzilla.ximian.com/show_bug.cgi?id=73157
--- shadow/73157 2005-03-01 13:13:19.000000000 -0500
+++ shadow/73157.tmp.1157 2005-03-02 10:01:05.000000000 -0500
@@ -37,6 +37,11 @@
Additional Information:
In mcs\class\System.Data\System.Data.Odbc\OdbcDataReader.cs,
col.OdbcType has the correct type OdbcType.Numeric
But the appropriate case statement is missing
and that means the value is treated like a string in the default clause.
+
+------- Additional Comments From timo-mono@pokorra.de 2005-03-02 10:01 -------
+Created an attachment (id=14499)
+that should solve the problem; numerics should be treated like double
+