We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08863d2 commit 045c8e2Copy full SHA for 045c8e2
programs/local/LocalServer.cpp
@@ -23,6 +23,7 @@
23
#include <Common/Exception.h>
24
#include <Common/Macros.h>
25
#include <Common/Config/ConfigProcessor.h>
26
+#include <Common/NamedCollections/NamedCollectionUtils.h>
27
#include <Common/ThreadStatus.h>
28
#include <Common/TLDListsHolder.h>
29
#include <Common/quoteString.h>
@@ -391,7 +392,10 @@ void LocalServer::setupUsers()
391
392
else
393
users_config = getConfigurationFromXMLString(minimal_default_user_xml);
394
if (users_config)
395
+ {
396
global_context->setUsersConfig(users_config);
397
+ NamedCollectionUtils::loadIfNot();
398
+ }
399
400
throw Exception(ErrorCodes::CANNOT_LOAD_CONFIG, "Can't load config for users");
401
}
0 commit comments