[Mono-bugs] [Bug 60038][Nor] Changed - NullReferenceException when passing null to SqlConnection or OracleConnection
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 18 Jun 2004 01:14:17 -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 sumadevi@novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=60038
--- shadow/60038 2004-06-16 12:37:56.000000000 -0400
+++ shadow/60038.tmp.314 2004-06-18 01:14:17.000000000 -0400
@@ -1,13 +1,13 @@
Bug#: 60038
Product: Mono: Class Libraries
Version: unspecified
OS: unknown
OS Details: Windows XP SP1
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: Unknown
Priority: Normal
Component: Sys.Data
AssignedTo: sumadevi@novell.com
ReportedBy: cmyers@austin.rr.com
QAContact: mono-bugs@ximian.com
@@ -37,6 +37,12 @@
I recommend at least throwing an ArgumentException when a null connect
string is passed.
At most, to be consistent with MS.NET, parse the connect string in the
constructor if(!=null) and,
if(==null) throw an exception during Open().
+
+------- Additional Comments From sumadevi@novell.com 2004-06-18 01:14 -------
+ SqlConnection.cs - handled null being passed as a connectionstring
+ - checked for minimal set of parameters in connectionstring.
+ - handled unrecogonized keywords similar to MS.NET
+