Clear the connection pool in the backdoor migration to prevent occasional conflicts with following migrations
This commit is contained in:
parent
93b20960b8
commit
07f5c21a07
|
@ -43,6 +43,8 @@ namespace NzbDrone.Core.Datastore.Migration
|
||||||
using (var connection = new SQLiteConnection(ConnectionString))
|
using (var connection = new SQLiteConnection(ConnectionString))
|
||||||
using (var command = connection.CreateCommand())
|
using (var command = connection.CreateCommand())
|
||||||
{
|
{
|
||||||
|
SQLiteConnection.ClearPool(connection);
|
||||||
|
|
||||||
connection.Open();
|
connection.Open();
|
||||||
command.CommandText = "SELECT Description FROM VersionInfo WHERE Version = 111";
|
command.CommandText = "SELECT Description FROM VersionInfo WHERE Version = 111";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue