[Mono-bugs] [Bug 59643][Nor] Changed - SqlDateTime.IsNull - static field might not be properly initialized.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 6 Jun 2004 17:37:47 -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 atsushi@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=59643
--- shadow/59643 2004-06-06 03:30:31.000000000 -0400
+++ shadow/59643.tmp.32190 2004-06-06 17:37:47.000000000 -0400
@@ -1,23 +1,23 @@
Bug#: 59643
Product: Mono: Class Libraries
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: Sys.Data
AssignedTo: mono-bugs@ximian.com
ReportedBy: rpaterlini@hotmail.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: SqlDateTime.IsNull doesn't work
+Summary: SqlDateTime.IsNull - static field might not be properly initialized.
Please fill in this template when reporting a bug, unless you know what
you are doing.
Description of Problem:
SqlDateTime.IsNull doesn't work
@@ -65,6 +65,41 @@
Additional Information:
This variabile in SqlDateTime.cs is not initialized.
public static readonly SqlDateTime Null;
Running on Windows2003 with Mono beta2
+
+------- Additional Comments From atsushi@ximian.com 2004-06-06 17:37 -------
+It looks like something is missing in mcs, not in System.Data.
+
+ginga@r50 ~/tests
+$ mcs sqldate.cs /r:System.Data
+Compilation succeeded
+
+ginga@r50 ~/tests
+$ ./sqldate.exe
+Must be True --> True
+Must be False --> True
+
+ginga@r50 ~/tests
+$ mono sqldate.exe
+Must be True --> True
+Must be False --> True
+
+ginga@r50 ~/tests
+$ csc /nologo sqldate.cs
+
+ginga@r50 ~/tests
+$ !./
+./sqldate.exe
+Must be True --> True
+Must be False --> False
+
+ginga@r50 ~/tests
+$ !mono
+mono sqldate.exe
+Must be True --> True
+Must be False --> False
+
+(I wanted to change the bug target, but bugzilla didn't work fine to
+do it, so am keeping it as Sys.Data stuff right now).