MCPcopy Create free account
hub / github.com/ByConity/ByConity / checkSettings

Function checkSettings

src/Databases/MySQL/DatabaseCnchMaterializedMySQL.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39static void checkSettings(const MaterializeMySQLSettings & settings_local)
40{
41 if (!settings_local.include_tables.value.empty() && !settings_local.exclude_tables.value.empty())
42 throw Exception("Can not set both settings: include_tables and exclude_tables", ErrorCodes::BAD_ARGUMENTS);
43}
44
45DatabaseCnchMaterializedMySQL::DatabaseCnchMaterializedMySQL(ContextPtr local_context,
46 const String & database_name_, UUID uuid_,

Callers 1

applySettingsChangesMethod · 0.85

Calls 2

ExceptionClass · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected