diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-11-29 14:47:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-29 14:47:45 -0500 |
| commit | 8c2095b24ee3228c0e112ebc3cfcb73e146d2a78 (patch) | |
| tree | 6a83c8132f9eac18c0a0bc2461e191c5c725c3c1 /Emby.Server.Implementations/Social/SharingRepository.cs | |
| parent | 1d09262963fb1d09f3a04843922a6a7a2f4364b3 (diff) | |
| parent | 456d5e5b760abe46c8dedf08b2465d2bd3ced4af (diff) | |
Merge pull request #2317 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/Social/SharingRepository.cs')
| -rw-r--r-- | Emby.Server.Implementations/Social/SharingRepository.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Emby.Server.Implementations/Social/SharingRepository.cs b/Emby.Server.Implementations/Social/SharingRepository.cs index 6dab54bc6..12d846e81 100644 --- a/Emby.Server.Implementations/Social/SharingRepository.cs +++ b/Emby.Server.Implementations/Social/SharingRepository.cs @@ -27,12 +27,7 @@ namespace Emby.Server.Implementations.Social { using (var connection = CreateConnection()) { - connection.ExecuteAll(string.Join(";", new[] - { - "PRAGMA page_size=4096", - "pragma default_temp_store = memory", - "pragma temp_store = memory" - })); + RunDefaultInitialization(connection); string[] queries = { @@ -70,7 +65,7 @@ namespace Emby.Server.Implementations.Social info.ItemId, info.UserId, info.ExpirationDate.ToDateTimeParamValue()); - }); + }, TransactionMode); } } } |
