Skip to content

Commit

Permalink
fix kqp/query_data build
Browse files Browse the repository at this point in the history
  • Loading branch information
zverevgeny committed May 2, 2024
1 parent febd236 commit 0114bce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ydb/core/kqp/query_data/kqp_query_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ const NKikimrMiniKQL::TParams* TQueryData::GetParameterMiniKqlValue(const TStrin

auto it = Params.find(name);
if (it == Params.end()) {
with_lock(AllocState->Alloc) {
with_lock(*AllocState->Alloc) {
const auto& [type, uv] = GetParameterUnboxedValue(name);
NKikimrMiniKQL::TParams param;
ExportTypeToProto(type, *param.MutableType());
Expand All @@ -386,7 +386,7 @@ const Ydb::TypedValue* TQueryData::GetParameterTypedValue(const TString& name) {

auto it = ParamsProtobuf.find(name);
if (it == ParamsProtobuf.end()) {
with_lock(AllocState->Alloc) {
with_lock(*AllocState->Alloc) {
const auto& [type, uv] = GetParameterUnboxedValue(name);

auto& tv = ParamsProtobuf[name];
Expand Down

0 comments on commit 0114bce

Please sign in to comment.