crazy stuff

This commit is contained in:
Yatsishin Ilya 2024-09-04 19:43:39 +00:00
parent dff153b59e
commit ef2dd93418

View File

@ -1070,11 +1070,15 @@ namespace
void setNullTableEngine(ASTStorage & storage)
{
storage.forEachPointerToChild([](void ** ptr) mutable
{
*ptr = nullptr;
});
auto engine_ast = std::make_shared<ASTFunction>();
engine_ast->name = "Null";
engine_ast->no_empty_args = true;
storage.set(storage.engine, engine_ast);
storage.settings = nullptr;
}
}