1
0
Fork 0

Bug fix 3.4/missing vocbase release (#7203)

This commit is contained in:
Simon 2018-11-02 16:25:49 +01:00 committed by Jan
parent 8420f21376
commit 1d2389dff1
1 changed files with 2 additions and 2 deletions

View File

@ -236,10 +236,10 @@ void dropCollectionFromAllViews(
TRI_voc_cid_t collectionId
) {
auto* vocbase = db.useDatabase(dbId);
if (!vocbase) {
return;
}
TRI_DEFER(vocbase->release());
// iterate over vocbase views
arangodb::LogicalView::enumerate(
@ -478,4 +478,4 @@ void IResearchRocksDBRecoveryHelper::LogData(const rocksdb::Slice& blob) {
// -----------------------------------------------------------------------------
// --SECTION-- END-OF-FILE
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------