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 [EMAIL PROTECTED]

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

--- shadow/78894        2006-07-18 23:41:08.000000000 -0400
+++ shadow/78894.tmp.22434      2006-07-18 23:41:08.000000000 -0400
@@ -0,0 +1,29 @@
+Bug#: 78894
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Data.SqlClient
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] Can't Inserting an empty varbinary value under 1.0 profile
+
+Description of Problem:
+
+If you try to insert an empty (i.e. zero length but not NULL) varbinary
+value into a table, under the 1.0 profile, you get an
+ArgumentOutOfRangeException.  The exception is thrown when
+Tds70.FormatParameter() calls BitConverter.ToString().  For compatibility
+reasons, BitConverter.ToString(new byte[0] {}) throws the exception under
+the 1.0 profile but not the 2.0 profile.
+
+I will attach a patch (against trunk) that adds a test case to SqlTest.cs
+and fixes the bug in Tds70.cs.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to