Skip to content

Commit

Permalink
fixed aggregate cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
glookka committed Apr 23, 2023
1 parent 979fa27 commit c95ddde
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/sphinxsort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2285,11 +2285,7 @@ struct MatchCloner_t
// memorize old dynamic first
memcpy ( m_dRowBuf.Begin(), tDst.m_pDynamic, m_dRowBuf.GetLengthBytes() );

if ( m_dOtherPtrRows.GetLength() )
{
m_pSchema->FreeDataSpecial ( tDst, m_dOtherPtrRows );
m_pSchema->CloneMatchSpecial ( tDst, tSrc, m_dOtherPtrRows );
}
m_pSchema->CloneMatchSpecial ( tDst, tSrc, m_dOtherPtrRows );

/*
FreeDataSpecial ( tDst, m_dOtherPtrRows );
Expand Down

0 comments on commit c95ddde

Please sign in to comment.