diff --git a/NzbDrone.Core.Test/Datastore/ObjectDatabaseFixture.cs b/NzbDrone.Core.Test/Datastore/ObjectDatabaseFixture.cs index 67dde8013..898a7e9bc 100644 --- a/NzbDrone.Core.Test/Datastore/ObjectDatabaseFixture.cs +++ b/NzbDrone.Core.Test/Datastore/ObjectDatabaseFixture.cs @@ -20,7 +20,7 @@ namespace NzbDrone.Core.Test.Datastore [SetUp] public void SetUp() { - WithObjectDb(); + WithObjectDb(false); testSeries = Builder .CreateNew() diff --git a/NzbDrone.Core/Datastore/EloqueraDbFactory.cs b/NzbDrone.Core/Datastore/EloqueraDbFactory.cs index b164b3ca3..83ac51ac0 100644 --- a/NzbDrone.Core/Datastore/EloqueraDbFactory.cs +++ b/NzbDrone.Core/Datastore/EloqueraDbFactory.cs @@ -22,13 +22,7 @@ namespace NzbDrone.Core.Datastore public EloqueraDb CreateMemoryDb() { - if (EnvironmentProvider.IsMono) - { - return InternalCreate("server=(local);password=;options=inmemory", Guid.NewGuid().ToString()); - - } return InternalCreate("server=(local);password=;options=inmemory;uselocalpath=" + dllPath, Guid.NewGuid().ToString()); - } public EloqueraDb Create(string dbPath = null) @@ -40,15 +34,7 @@ namespace NzbDrone.Core.Datastore var file = new FileInfo(dbPath); - if (EnvironmentProvider.IsMono) - { - return InternalCreate(string.Format("server=(local);password=;usedatapath={0}", file.Directory.FullName), file.Name); - } - else - { - return InternalCreate(string.Format("server=(local);password=;usedatapath={0};uselocalpath={1}", file.Directory.FullName, dllPath), file.Name); - } - + return InternalCreate(string.Format("server=(local);password=;usedatapath={0};uselocalpath={1}", file.Directory.FullName, dllPath), file.Name); } private EloqueraDb InternalCreate(string connectionString, string databaseName) diff --git a/SqlCe/NzbDrone.SqlCe.dll b/SqlCe/NzbDrone.SqlCe.dll index 5b380d331..9cde16324 100644 Binary files a/SqlCe/NzbDrone.SqlCe.dll and b/SqlCe/NzbDrone.SqlCe.dll differ