diff options
| author | Patrick Barron <barronpm@gmail.com> | 2021-10-02 13:03:04 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2021-10-02 13:03:04 -0400 |
| commit | 21007aec2038b88734ae19287081bcb1b04f6300 (patch) | |
| tree | 8b1b0705c1001ed5edae760505b0b1778c499567 /Emby.Server.Implementations/Data/TempStoreMode.cs | |
| parent | 4ba9b6c30568c239ab9070734746c03765faac8f (diff) | |
Fix warnings in Data
Diffstat (limited to 'Emby.Server.Implementations/Data/TempStoreMode.cs')
| -rw-r--r-- | Emby.Server.Implementations/Data/TempStoreMode.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Data/TempStoreMode.cs b/Emby.Server.Implementations/Data/TempStoreMode.cs new file mode 100644 index 0000000000..d2427ce478 --- /dev/null +++ b/Emby.Server.Implementations/Data/TempStoreMode.cs @@ -0,0 +1,23 @@ +namespace Emby.Server.Implementations.Data; + +/// <summary> +/// Storage mode used by temporary database files. +/// </summary> +public enum TempStoreMode +{ + /// <summary> + /// The compile-time C preprocessor macro SQLITE_TEMP_STORE + /// is used to determine where temporary tables and indices are stored. + /// </summary> + Default = 0, + + /// <summary> + /// Temporary tables and indices are stored in a file. + /// </summary> + File = 1, + + /// <summary> + /// Temporary tables and indices are kept in as if they were pure in-memory databases memory. + /// </summary> + Memory = 2 +} |
