mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Revert "Fixed 'variable tracking size limit exceeded' notice (again) [#METR-23101]."
This reverts commit b6fb08c77f
.
This commit is contained in:
parent
b6fb08c77f
commit
df54b52db0
@ -160,19 +160,14 @@ void LocalServer::defineOptions(Poco::Util::OptionSet& _options)
|
||||
.binding("help")
|
||||
.callback(Poco::Util::OptionCallback<LocalServer>(this, &LocalServer::handleHelp)));
|
||||
|
||||
/// Additional curly braces prevents "variable tracking size limit exceeded" compiler notice.
|
||||
#define DECLARE_SETTING(TYPE, NAME, DEFAULT) \
|
||||
{ \
|
||||
_options.addOption(Poco::Util::Option(#NAME, "", "Settings.h").group("Settings").required(false).repeatable(false).binding(#NAME)); \
|
||||
APPLY_FOR_SETTINGS(DECLARE_SETTING) \
|
||||
}
|
||||
_options.addOption(Poco::Util::Option(#NAME, "", "Settings.h").group("Settings").required(false).repeatable(false).binding(#NAME));
|
||||
APPLY_FOR_SETTINGS(DECLARE_SETTING)
|
||||
#undef DECLARE_SETTING
|
||||
|
||||
#define DECLARE_SETTING(TYPE, NAME, DEFAULT) \
|
||||
{ \
|
||||
_options.addOption(Poco::Util::Option(#NAME, "", "Limits.h").group("Limits").required(false).repeatable(false).binding(#NAME)); \
|
||||
APPLY_FOR_LIMITS(DECLARE_SETTING) \
|
||||
}
|
||||
_options.addOption(Poco::Util::Option(#NAME, "", "Limits.h").group("Limits").required(false).repeatable(false).binding(#NAME));
|
||||
APPLY_FOR_LIMITS(DECLARE_SETTING)
|
||||
#undef DECLARE_SETTING
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user