missing ifdef would make --disable-idxthreads build fail
This commit is contained in:
parent
82bec889b8
commit
81cc5326ba
@ -1599,7 +1599,9 @@ bool Db::Native::docToXdocXattrOnly(TextSplitDb *splitter, const string &udi,
|
|||||||
Doc &doc, Xapian::Document& xdoc)
|
Doc &doc, Xapian::Document& xdoc)
|
||||||
{
|
{
|
||||||
LOGDEB0(("Db::docToXdocXattrOnly\n"));
|
LOGDEB0(("Db::docToXdocXattrOnly\n"));
|
||||||
|
#ifdef IDX_THREADS
|
||||||
PTMutexLocker lock(m_mutex);
|
PTMutexLocker lock(m_mutex);
|
||||||
|
#endif
|
||||||
|
|
||||||
// Read existing document and its data record
|
// Read existing document and its data record
|
||||||
if (getDoc(udi, 0, xdoc) == 0) {
|
if (getDoc(udi, 0, xdoc) == 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user