mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Avoid too large stack frames even in debug build
This commit is contained in:
parent
a0d6593f90
commit
8d21660dcd
@ -347,7 +347,7 @@ void SettingsCollection<Derived>::deserialize(ReadBuffer & buf, SettingsBinaryFo
|
||||
|
||||
|
||||
#define IMPLEMENT_SETTINGS_COLLECTION_ADD_MEMBER_INFO_HELPER_(TYPE, NAME, DEFAULT, DESCRIPTION, FLAGS) \
|
||||
add({StringRef(#NAME, strlen(#NAME)), \
|
||||
{ add({StringRef(#NAME, strlen(#NAME)), \
|
||||
StringRef(DESCRIPTION, strlen(DESCRIPTION)), \
|
||||
StringRef(#TYPE, strlen(#TYPE)), \
|
||||
FLAGS & IMPORTANT, \
|
||||
@ -355,5 +355,5 @@ void SettingsCollection<Derived>::deserialize(ReadBuffer & buf, SettingsBinaryFo
|
||||
&Functions::NAME##_getString, &Functions::NAME##_getField, \
|
||||
&Functions::NAME##_setString, &Functions::NAME##_setField, \
|
||||
&Functions::NAME##_serialize, &Functions::NAME##_deserialize, \
|
||||
&Functions::NAME##_valueToString, &Functions::NAME##_valueToCorrespondingType});
|
||||
&Functions::NAME##_valueToString, &Functions::NAME##_valueToCorrespondingType}); }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user