1
0
Fork 0

added missing ifdef

This commit is contained in:
jsteemann 2018-10-03 19:41:32 +02:00
parent 571be911fb
commit dfba4b6381
1 changed files with 2 additions and 0 deletions

View File

@ -1909,11 +1909,13 @@ std::unique_ptr<TRI_vocbase_t> RocksDBEngine::openExistingDatabase(
view->open();
#ifdef ARANGODB_ENABLE_MAINTAINER_MODE
#ifdef USE_IRESEARCH
if (iresearch::IResearchView* v = dynamic_cast<iresearch::IResearchView*>(view.get())) {
LOG_TOPIC(DEBUG, Logger::VIEWS)
<< "arangosearch view '" << v->name()
<< "' contains " << v->count() << " documents";
}
#endif
#endif
}
} catch (std::exception const& ex) {