Skip to content

Commit

Permalink
oops, lets wait for dist_threads, not local_indexes
Browse files Browse the repository at this point in the history
git-svn-id: http://sphinxsearch.googlecode.com/svn/trunk@2079 8b96e2b9-35c5-2c16-bc47-5122d61876d4
  • Loading branch information
shodan committed Nov 17, 2009
1 parent d10528e commit 7acf1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/searchd.cpp
Expand Up @@ -4479,7 +4479,7 @@ void SearchHandler_c::RunLocalSearchesMT ()
}

// wait for them to complete
ARRAY_FOREACH ( i, m_dLocal )
ARRAY_FOREACH ( i, dThreads )
sphThreadJoin ( &dThreads[i].m_tThd );

// now merge the results
Expand Down

0 comments on commit 7acf1b0

Please sign in to comment.