[Mono-bugs] [Bug 391672] New: valid sqlite connection strings are rejected

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 16 18:07:18 EDT 2008


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: mhabersack at novell.com
        ReportedBy: tedu at fogcreek.com
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list