Skip to content

Commit

Permalink
fixed a crash with pooled attributes in multiqueries
Browse files Browse the repository at this point in the history
  • Loading branch information
glookka committed Aug 21, 2017
1 parent ce370d5 commit 4a4bda5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/searchd.cpp
Expand Up @@ -8312,8 +8312,8 @@ void SearchHandler_c::RunSubset ( int iStart, int iEnd )
return;
}

ARRAY_FOREACH ( i, m_dResults )
m_dResults[i].m_dTag2Pools.Resize ( iTagsCount );
for ( int iRes=iStart; iRes<=iEnd; iRes++ )
m_dResults[iRes].m_dTag2Pools.Resize ( iTagsCount );

/////////////////////////////////////////////////////
// optimize single-query, same-schema local searches
Expand Down

0 comments on commit 4a4bda5

Please sign in to comment.