aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Sync/SyncRepository.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-28 14:26:48 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-28 14:26:48 -0500
commit1c52e4f51b1a9732264203fb0d987cf9752ef45b (patch)
treec6ba5e7a6546f3fba214ddeacac2c87ce4ecb053 /Emby.Server.Implementations/Sync/SyncRepository.cs
parent56b24da15165ef4c4b7107b673bab5b191d76afe (diff)
update transaction modes
Diffstat (limited to 'Emby.Server.Implementations/Sync/SyncRepository.cs')
-rw-r--r--Emby.Server.Implementations/Sync/SyncRepository.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/Sync/SyncRepository.cs b/Emby.Server.Implementations/Sync/SyncRepository.cs
index b2d9fbcc9..caf98e666 100644
--- a/Emby.Server.Implementations/Sync/SyncRepository.cs
+++ b/Emby.Server.Implementations/Sync/SyncRepository.cs
@@ -79,7 +79,7 @@ namespace Emby.Server.Implementations.Sync
existingColumnNames = GetColumnNames(db, "SyncJobItems");
AddColumn(db, "SyncJobItems", "ItemDateModifiedTicks", "BIGINT", existingColumnNames);
- });
+ }, TransactionMode);
}
}
@@ -268,7 +268,7 @@ namespace Emby.Server.Implementations.Sync
connection.RunInTransaction(conn =>
{
conn.Execute(commandText, paramList.ToArray());
- });
+ }, TransactionMode);
}
}
}
@@ -290,7 +290,7 @@ namespace Emby.Server.Implementations.Sync
{
conn.Execute("delete from SyncJobs where Id=?", id.ToGuidParamValue());
conn.Execute("delete from SyncJobItems where JobId=?", id);
- });
+ }, TransactionMode);
}
}
}
@@ -743,7 +743,7 @@ namespace Emby.Server.Implementations.Sync
connection.RunInTransaction(conn =>
{
conn.Execute(commandText, paramList.ToArray());
- });
+ }, TransactionMode);
}
}
}