Skip to content

Commit

Permalink
Fix access to moved out attr update
Browse files Browse the repository at this point in the history
That is related to #2381, #2382, #2388; need to check if it fixes the
issues.
  • Loading branch information
klirichek committed Oct 22, 2021
1 parent 6e61916 commit 7ec76d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sphinxrt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2991,7 +2991,7 @@ void RtIndex_c::UpdateAttributesOffline ( VecTraits_T<PostponedUpdate_t> & dUpda
Update_PrepareListOfUpdatedAttributes ( tCtx, sError );

// actualize list of updates in context of new segment
const auto & dDocids = tUpdate.m_pUpdate->m_dDocids;
const auto & dDocids = tUpdInc.m_pUpdate->m_dDocids;
ARRAY_FOREACH ( i, tUpdate.m_dRowsToUpdate )
{
auto& tRow = tUpdate.m_dRowsToUpdate[i];
Expand Down

0 comments on commit 7ec76d4

Please sign in to comment.