|
|
static constexpr const char * | Name = "temp_file_encryption" |
|
static constexpr const char * | Description = "Encrypt all temporary files if database is encrypted" |
|
static constexpr const char * | InputType = "BOOLEAN" |
|
static constexpr const char * | DefaultValue = "false" |
|
static constexpr SettingScopeTarget | Scope = SettingScopeTarget::GLOBAL_ONLY |
|
static constexpr idx_t | SettingIndex = 88 |
◆ OnSet()
302955 {
302956 if (!info.db) {
302957 return;
302958 }
302959 auto &buffer_manager = BufferManager::GetBufferManager(*info.db);
302960 if (buffer_manager.HasFilesInTemporaryDirectory()) {
302961 throw PermissionException("Existing temporary files found: Modifying the temp_file_encryption setting "
302962 "while there are existing temporary files is disabled.");
302963 }
302964}
The documentation for this struct was generated from the following file: