mirror of https://gitee.com/bigwinds/arangodb
Bug fix 3.4/missing vocbase release (#7203)
This commit is contained in:
parent
8420f21376
commit
1d2389dff1
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue