mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-13 02:36:06 -04:00
fix another core caused by deleted coll. manual merge of d6fe684b996a65203c0049a06f2994470286b96b
This commit is contained in:
@ -2245,6 +2245,14 @@ bool SpiderColl::evalIpLoop ( ) {
|
||||
bool inCache = false;
|
||||
bool useCache = true;
|
||||
CollectionRec *cr = g_collectiondb.getRec ( m_collnum );
|
||||
|
||||
|
||||
// did our collection rec get deleted? since we were doing a read
|
||||
// the SpiderColl will have been preserved in that case but its
|
||||
// m_deleteMyself flag will have been set.
|
||||
if ( tryToDeleteSpiderColl ( this ,"6") ) return false;
|
||||
|
||||
|
||||
// if doing site or page quotes for the sitepages or domainpages
|
||||
// url filter expressions, we can't muck with the cache because
|
||||
// we end up skipping the counting part.
|
||||
|
Reference in New Issue
Block a user