mirror of https://gitee.com/bigwinds/arangodb
added missing ifdef
This commit is contained in:
parent
571be911fb
commit
dfba4b6381
|
@ -1909,11 +1909,13 @@ std::unique_ptr<TRI_vocbase_t> RocksDBEngine::openExistingDatabase(
|
||||||
|
|
||||||
view->open();
|
view->open();
|
||||||
#ifdef ARANGODB_ENABLE_MAINTAINER_MODE
|
#ifdef ARANGODB_ENABLE_MAINTAINER_MODE
|
||||||
|
#ifdef USE_IRESEARCH
|
||||||
if (iresearch::IResearchView* v = dynamic_cast<iresearch::IResearchView*>(view.get())) {
|
if (iresearch::IResearchView* v = dynamic_cast<iresearch::IResearchView*>(view.get())) {
|
||||||
LOG_TOPIC(DEBUG, Logger::VIEWS)
|
LOG_TOPIC(DEBUG, Logger::VIEWS)
|
||||||
<< "arangosearch view '" << v->name()
|
<< "arangosearch view '" << v->name()
|
||||||
<< "' contains " << v->count() << " documents";
|
<< "' contains " << v->count() << " documents";
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
} catch (std::exception const& ex) {
|
} catch (std::exception const& ex) {
|
||||||
|
|
Loading…
Reference in New Issue