diff options
author | Vitalii Gridnev <gridnevvvit@gmail.com> | 2024-03-12 22:12:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 22:12:28 +0300 |
commit | a9fc0430cb93c2c5488e752cc147360be35b37d8 (patch) | |
tree | c1b179eccebf797d74df79a3c1fe152afba74196 | |
parent | 2d4fc0b00632269d095102ba6434a9f491e370ea (diff) | |
download | ydb-a9fc0430cb93c2c5488e752cc147360be35b37d8.tar.gz |
simplify query service enable (#2675)
-rw-r--r-- | ydb/core/driver_lib/run/run.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ydb/core/driver_lib/run/run.cpp b/ydb/core/driver_lib/run/run.cpp index fef705936d..44f0bbb951 100644 --- a/ydb/core/driver_lib/run/run.cpp +++ b/ydb/core/driver_lib/run/run.cpp @@ -585,6 +585,10 @@ void TKikimrRunner::InitializeGRpc(const TKikimrRunConfig& runConfig) { TServiceCfg hasKeyValue = services.empty(); names["keyvalue"] = &hasKeyValue; + if (hasTableService || hasYql) { + hasQueryService = true; + } + std::unordered_set<TString> enabled; for (const auto& name : services) { enabled.insert(name); |