[Mono-bugs] [Bug 75774][Nor] Changed - SQL bigint is mapped to Sytem.Decimal instead of Int64

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 10 15:10:45 EDT 2005


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 kornelpal at hotmail.com.

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

--- shadow/75774	2005-08-10 14:34:33.000000000 -0400
+++ shadow/75774.tmp.10814	2005-08-10 15:10:45.000000000 -0400
@@ -1,20 +1,32 @@
 Bug#: 75774
 Product: Mono: Class Libraries
 Version: 1.0
 OS: Red Hat 7.3
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: DUPLICATE
+Severity: Unknown
 Priority: Normal
 Component: Sys.Data.SqlClient
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: tamas at jhu.edu               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: SQL bigint is mapped to Sytem.Decimal instead of Int64
 
 The SQL bigint type is mapped to System.Decimal instead of Int64. BTW, 
 the MS framework maps it to Int64.
+
+------- Additional Comments From kornelpal at hotmail.com  2005-08-10 15:10 -------
+This is a limitation of TDS 7.0 used by Mono. .NET Framework uses 
+TDS 8.0.
+
+It is difficult to fix as TDS 8.0 should be implemented.
+
+I committed a workaround that makes GetInt64 and GetSqlInt64 able to 
+read decimal(19,0). But there is no way in TDS 7.0 to determine 
+whether the type is bigint.
+
+*** This bug has been marked as a duplicate of 53169 ***


More information about the mono-bugs mailing list