Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nikvas0 committed Oct 17, 2024
1 parent ab93d71 commit 695d256
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ydb/core/kqp/session_actor/kqp_session_actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,9 @@ class TKqpSessionActor : public TActorBootstrapped<TKqpSessionActor> {
return false;
}
QueryState->TxCtx->HasUncommittedChangesRead = ::NKikimr::NKqp::HasUncommittedChangesRead(QueryState->TxCtx->ModifiedTables, phyQuery);
if (QueryState->TxCtx->HasUncommittedChangesRead) {
QueryState->TxCtx->ModifiedTables.clear();
}

QueryState->TxCtx->SetTempTables(QueryState->TempTablesState);
auto [success, issues] = QueryState->TxCtx->ApplyTableOperations(phyQuery.GetTableOps(), phyQuery.GetTableInfos(),
Expand Down

0 comments on commit 695d256

Please sign in to comment.