1
0
Fork 0
This commit is contained in:
jsteemann 2019-11-11 09:47:19 +01:00
parent dae935de6e
commit 037908c4af
1 changed files with 2 additions and 2 deletions

View File

@ -2637,7 +2637,7 @@ int MMFilesEngine::startCompactor(TRI_vocbase_t& vocbase) {
{
MUTEX_LOCKER(locker, _threadsLock);
auto [it, emplaced] = _compactorThreads.try_emplace(
auto emplaced = _compactorThreads.try_emplace(
&vocbase,
arangodb::lazyConstruct([&]{
thread.reset(new MMFilesCompactorThread(vocbase));
@ -2648,7 +2648,7 @@ int MMFilesEngine::startCompactor(TRI_vocbase_t& vocbase) {
}
return std::move(thread);
})
);
).second;
if (!emplaced) {
return TRI_ERROR_INTERNAL;