|
|
static constexpr const char * | Name = "warnings_as_errors" |
|
static constexpr const char * | Description = "Escalate all warnings to errors." |
|
static constexpr const char * | InputType = "BOOLEAN" |
|
static constexpr const char * | DefaultValue = "false" |
|
static constexpr SettingScopeTarget | Scope = SettingScopeTarget::GLOBAL_ONLY |
|
static constexpr idx_t | SettingIndex = 94 |
◆ OnSet()
302998 {
302999 auto &log_manager = LogManager::Get(*info.context);
303000 if (input == Value(true) && !log_manager.GetConfig().enabled) {
303001 throw Exception(
303002 ExceptionType::SETTINGS,
303003 "Can not set 'warnings_as_errors=true'; no logger is available. To solve, run: 'SET enable_logging=true;'");
303004 }
303005}
The documentation for this struct was generated from the following file: