https://bugzilla.novell.com/show_bug.cgi?id=391672


           Summary: valid sqlite connection strings are rejected
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Mono.Data.Sqlite
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


The wiki says "Data Source" should work with a space.  Also, lowered strings
will only match lowered cases.

---
/mono-src/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteConnection.cs
     Thu May 15 17:33:37 2008 -0400
+++
b/mono-src/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient/SqliteConnection.cs
     Fri May 16 17:58:57 2008 -0400
@@ -197,7 +197,8 @@ namespace Mono.Data.SqliteClient
                                        string tvalue_lc =
arg_pieces[1].ToLower (System.Globalization.CultureInfo.InvariantCulture).Trim
();
                                        switch (token) {
 #if NET_2_0
-                                               case "DataSource":
+                                               case "datasource":
+                                               case "data source":
 #endif
                                                case "uri": 
                                                        if
(tvalue_lc.StartsWith ("file://")) {


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to