MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / setNullTableEngine

Function setNullTableEngine

src/Interpreters/InterpreterCreateQuery.cpp:1224–1235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1222 }
1223
1224 void setNullTableEngine(ASTStorage & storage)
1225 {
1226 storage.forEachPointerToChild([](IAST ** ptr, boost::intrusive_ptr<IAST> *)
1227 {
1228 *ptr = nullptr;
1229 });
1230
1231 auto engine_ast = make_intrusive<ASTFunction>();
1232 engine_ast->name = "Null";
1233 engine_ast->setNoEmptyArgs(true);
1234 storage.set(storage.engine, engine_ast);
1235 }
1236
1237 void setNullDictionarySourceIfExternal(ASTCreateQuery & create_query)
1238 {

Callers 1

setEngineMethod · 0.85

Calls 3

setNoEmptyArgsMethod · 0.80
forEachPointerToChildMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected