aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Persistence/SqliteDisplayPreferencesRepository.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-07 20:42:15 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-07 20:42:15 -0500
commit1f162e39b1a26aabe7bd6080479ce000774247e6 (patch)
tree964abded95f33e4a912691cb87cebcfb6dabbf2f /MediaBrowser.Server.Implementations/Persistence/SqliteDisplayPreferencesRepository.cs
parent07e5b74f1344d2c80ef0d27fb6b2097459db4f4e (diff)
expose Tmdb collection id in editor.
Diffstat (limited to 'MediaBrowser.Server.Implementations/Persistence/SqliteDisplayPreferencesRepository.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Persistence/SqliteDisplayPreferencesRepository.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Persistence/SqliteDisplayPreferencesRepository.cs b/MediaBrowser.Server.Implementations/Persistence/SqliteDisplayPreferencesRepository.cs
index 09f438aef..9f6ec0f24 100644
--- a/MediaBrowser.Server.Implementations/Persistence/SqliteDisplayPreferencesRepository.cs
+++ b/MediaBrowser.Server.Implementations/Persistence/SqliteDisplayPreferencesRepository.cs
@@ -86,8 +86,11 @@ namespace MediaBrowser.Server.Implementations.Persistence
"create table if not exists userdisplaypreferences (id GUID, userId GUID, client text, data BLOB)",
"create unique index if not exists userdisplaypreferencesindex on userdisplaypreferences (id, userId, client)",
+
//pragmas
- "pragma temp_store = memory"
+ "pragma temp_store = memory",
+
+ "pragma shrink_memory"
};
_connection.RunQueries(queries, _logger);