mirror of https://gitee.com/bigwinds/arangodb
Fixed a bug stopping ArangoDB to drop collections properly due to new foxx behaviour
This commit is contained in:
parent
4d32092de8
commit
a1b43ef287
|
@ -43,8 +43,8 @@ var mountAppRegEx = /\/APP(\/|$)/i;
|
|||
|
||||
var getStorage = function() {
|
||||
"use strict";
|
||||
var c = db._apps;
|
||||
if (c === undefined) {
|
||||
var c = db._collection("_apps");
|
||||
if (c === null) {
|
||||
c = db._create("_apps", {isSystem: true});
|
||||
c.ensureUniqueConstraint("mount");
|
||||
}
|
||||
|
@ -279,7 +279,6 @@ function listJson (showPrefix, onlyDevelopment) {
|
|||
}
|
||||
var result = [];
|
||||
var doc, res;
|
||||
|
||||
while (cursor.hasNext()) {
|
||||
doc = cursor.next();
|
||||
|
||||
|
|
Loading…
Reference in New Issue