Skip to content

Commit

Permalink
Fix uninitialized mem access in msan UT (#4413)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hor911 authored May 8, 2024
1 parent d6d2174 commit 0e415cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ydb/core/kqp/host/kqp_host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,9 @@ class TKqpHost : public IKqpHost {
SessionCtx->SetCluster(cluster);
SessionCtx->SetTempTables(std::move(tempTablesState));

ExternalSourceFactory = NExternalSource::CreateExternalSourceFactory({}, FederatedQuerySetup->S3GatewayConfig.GetGeneratorPathsLimit());
if (FederatedQuerySetup) {
ExternalSourceFactory = NExternalSource::CreateExternalSourceFactory({}, FederatedQuerySetup->S3GatewayConfig.GetGeneratorPathsLimit());
}
}

IAsyncQueryResultPtr ExecuteSchemeQuery(const TKqpQueryRef& query, bool isSql, const TExecSettings& settings) override {
Expand Down

0 comments on commit 0e415cd

Please sign in to comment.