mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 15:03:06 +03:00
update db inheritance
This commit is contained in:
@@ -64,7 +64,7 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
|
||||
_connection.AddColumn(Logger, "SyncJobs", "Profile", "TEXT");
|
||||
_connection.AddColumn(Logger, "SyncJobs", "Bitrate", "INT");
|
||||
|
||||
|
||||
PrepareStatements();
|
||||
}
|
||||
|
||||
@@ -800,24 +800,6 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
return item;
|
||||
}
|
||||
|
||||
private bool _disposed;
|
||||
private void CheckDisposed()
|
||||
{
|
||||
if (_disposed)
|
||||
{
|
||||
throw new ObjectDisposedException(GetType().Name + " has been disposed and cannot be accessed.");
|
||||
}
|
||||
}
|
||||
|
||||
protected override void Dispose(bool dispose)
|
||||
{
|
||||
if (dispose)
|
||||
{
|
||||
_disposed = true;
|
||||
}
|
||||
base.Dispose(dispose);
|
||||
}
|
||||
|
||||
protected override void CloseConnection()
|
||||
{
|
||||
if (_connection != null)
|
||||
|
||||
Reference in New Issue
Block a user