mirror of https://gitee.com/bigwinds/arangodb
Fixed a classical bug. true/false is always way harder to get right than extremly complicated datatypes...
This commit is contained in:
parent
26d95cfe80
commit
0941a57c91
|
@ -733,7 +733,7 @@ bool MMFilesWalRecoverState::ReplayMarker(TRI_df_marker_t const* marker,
|
||||||
// dropped later
|
// dropped later
|
||||||
bool const forceSync = state->willBeDropped(databaseId, collectionId);
|
bool const forceSync = state->willBeDropped(databaseId, collectionId);
|
||||||
CollectionResult res = collection->updateProperties(payloadSlice, forceSync);
|
CollectionResult res = collection->updateProperties(payloadSlice, forceSync);
|
||||||
if (res.successful()) {
|
if (!res.successful()) {
|
||||||
LOG_TOPIC(WARN, arangodb::Logger::FIXME) << "cannot change collection properties for collection "
|
LOG_TOPIC(WARN, arangodb::Logger::FIXME) << "cannot change collection properties for collection "
|
||||||
<< collectionId << " in database " << databaseId << ": "
|
<< collectionId << " in database " << databaseId << ": "
|
||||||
<< res.errorMessage;
|
<< res.errorMessage;
|
||||||
|
|
Loading…
Reference in New Issue