Skip to content

Commit

Permalink
fixed #2574 daemon crash for query without indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Klinov authored and klirichek committed Jul 18, 2017
1 parent ac6fcd3 commit 3754785
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/searchd.cpp
Expand Up @@ -3599,6 +3599,9 @@ bool MinimizeSchema ( CSphRsetSchema & tDst, const ISphSchema & tSrc )
static void ParseIndexList ( const CSphString & sIndexes, CSphVector<CSphString> & dOut )
{
CSphString sSplit = sIndexes;
if ( sIndexes.IsEmpty() )
return;

char * p = (char*)sSplit.cstr();
while ( *p )
{
Expand Down

0 comments on commit 3754785

Please sign in to comment.