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

Method createTable

src/Databases/MySQL/DatabaseCnchMaterializedMySQL.cpp:118–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void DatabaseCnchMaterializedMySQL::createTable(ContextPtr local_context, const String & table_name, const StoragePtr & table, const ASTPtr & query)
119{
120 if (!local_context->getSettings().force_manipulate_materialized_mysql_table)
121 throw Exception("Cannot create table without force_manipulate_materialized_mysql_table, engine: " + getEngineName(), ErrorCodes::NOT_IMPLEMENTED);
122
123 DatabaseCnch::createTable(local_context, table_name, table, query);
124}
125
126void DatabaseCnchMaterializedMySQL::dropTable(ContextPtr local_context, const String & table_name, bool no_delay)
127{

Callers

nothing calls this directly

Calls 4

getEngineNameFunction · 0.85
createTableFunction · 0.70
ExceptionClass · 0.50
getSettingsMethod · 0.45

Tested by

no test coverage detected