Skip to content

Commit

Permalink
Bugix in connection string to v2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mbdavid committed Nov 7, 2016
1 parent 7fc5dd9 commit 3bda700
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LiteDB.Core.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>LiteDB.Core</id>
<version>2.0.3</version>
<version>2.0.4</version>
<title>LiteDB Portable</title>
<authors>Mauricio David</authors>
<projectUrl>http://www.litedb.org</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion LiteDB.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>LiteDB</id>
<version>2.0.3</version>
<version>2.0.4</version>
<title>LiteDB</title>
<authors>Mauricio David</authors>
<projectUrl>http://www.litedb.org</projectUrl>
Expand Down
4 changes: 2 additions & 2 deletions LiteDB/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("54989b5c-4bcf-4d58-b8ba-9b014a324f76")]
[assembly: AssemblyVersion("2.0.3.0")]
[assembly: AssemblyFileVersion("2.0.3.0")]
[assembly: AssemblyVersion("2.0.4.0")]
[assembly: AssemblyFileVersion("2.0.4.0")]
[assembly: NeutralResourcesLanguage("en")]
3 changes: 2 additions & 1 deletion LiteDB/Utils/ConnectionString.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public ConnectionString(string connectionString)
{
if (string.IsNullOrEmpty(connectionString)) throw new ArgumentNullException("connectionString");

_values = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);

// Create a dictionary from string name=value collection
if (connectionString.Contains("="))
{
Expand All @@ -25,7 +27,6 @@ public ConnectionString(string connectionString)
else
{
// If connectionstring is only a filename, set filename
_values = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
#if PCL
_values["filename"] = connectionString;
#else
Expand Down

0 comments on commit 3bda700

Please sign in to comment.