mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-14 02:36:06 -04:00
fix another core in crawlbot
This commit is contained in:
6
Msg3.cpp
6
Msg3.cpp
@ -928,13 +928,17 @@ bool Msg3::doneScanning ( ) {
|
||||
// . this returns false and sets g_errno on error
|
||||
// . like if data is corrupt
|
||||
BigFile *ff = base->getFile(m_fileNums[i]);
|
||||
// if we did a merge really quick and delete one of the
|
||||
// files we were reading, i've seen 'ff' be NULL
|
||||
char *filename = "lostfilename";
|
||||
if ( ff ) filename = ff->getFilename();
|
||||
if ( ! m_lists[i].constrain ( m_startKey ,
|
||||
m_constrainKey , // m_endKey
|
||||
mrs , // m_minRecSizes
|
||||
m_hintOffsets[i] ,
|
||||
//m_hintKeys [i] ,
|
||||
&m_hintKeys [i*m_ks] ,
|
||||
ff->getFilename() ,
|
||||
filename,//ff->getFilename() ,
|
||||
m_niceness ) ) {
|
||||
log("net: Had error while constraining list read from "
|
||||
"%s: %s/%s. vfd=%"INT32" parts=%"INT32". "
|
||||
|
Reference in New Issue
Block a user