[Mono-bugs] [Bug 68804][Cri] Changed - Fill method of SqlDataAdapter hangs application

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 28 Oct 2004 13:24:08 -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 dezelin32@fastmail.fm.

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

--- shadow/68804	2004-10-26 10:48:10.000000000 -0400
+++ shadow/68804.tmp.9863	2004-10-28 13:24:07.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 68804
 Product: Mono: Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: Mono 1.0.2  for Windows
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Critical
 Component: Sys.Data.SqlClient
 AssignedTo: rodrigo@novell.com                            
 ReportedBy: dezelin32@fastmail.fm               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -90,6 +90,23 @@
 
 How often does this happen? 
 
 Always
 
 Additional Information:
+
+------- Additional Comments From dezelin32@fastmail.fm  2004-10-28 13:24 -------
+I've found what happens:
+
+Tds.cs: 494 - method GetColumnValue
+
+It's:
+           case TdsColumnType.UniqueIdentifier :
+               if (comm.Peek () != 16) // If it's null, then what to do?
+                   break;
+
+It should be:
+           case TdsColumnType.UniqueIdentifier :
+               if (comm.Peek () != 16) { // If it's null, then what to do?
+                  element = DBNull.Value;
+                   break;
+               }