1
0
Fork 0

Fixed a bug stopping ArangoDB to drop collections properly due to new foxx behaviour

This commit is contained in:
Michael Hackstein 2015-02-10 15:15:54 +01:00
parent 4d32092de8
commit a1b43ef287
1 changed files with 2 additions and 3 deletions

View File

@ -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();