This commit is contained in:
Alexander Kuzmenkov 2020-06-23 09:41:57 +03:00
parent 96d2e9c997
commit 7372a18d45
2 changed files with 4 additions and 0 deletions

View File

@ -560,6 +560,8 @@ int mainEntryClickHouseBenchmark(int argc, char ** argv)
return 1;
}
GlobalThreadPool::initialize();
print_stacktrace = options.count("stacktrace");
UseSSL use_ssl;

View File

@ -147,6 +147,8 @@ try
return Application::EXIT_OK;
}
GlobalThreadPool::initialize();
shared_context = Context::createShared();
context = std::make_unique<Context>(Context::createGlobal(shared_context.get()));
context->makeGlobalContext();