[Mono-bugs] [Bug 62390][Nor] New - SqlDataReader.GetInt32\SqlDataReader.GetInt64 work improperly

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 3 Aug 2004 18:20:21 -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 info@x-tensive.com.

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

--- shadow/62390	2004-08-03 18:20:21.000000000 -0400
+++ shadow/62390.tmp.15679	2004-08-03 18:20:21.000000000 -0400
@@ -0,0 +1,27 @@
+Bug#: 62390
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: info@x-tensive.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SqlDataReader.GetInt32\SqlDataReader.GetInt64 work improperly
+
+SqlDataReader.GetInt32\SqlDataReader.GetInt64 work improperly - our 
+native .NET code that uses these methods fails with an exception on Mono, 
+while GetDecimal allows to get necessary values.
+
+Notes:
+- Values we were trying to get with SqlDataReader.GetInt32
+\SqlDataReader.GetInt64 were really Int32\Int64 values (fetched from 
+int\bigint columns).
+- SqlDataReader.GetDecimal correctly gets these values as Decimals.