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() {
|
var getStorage = function() {
|
||||||
"use strict";
|
"use strict";
|
||||||
var c = db._apps;
|
var c = db._collection("_apps");
|
||||||
if (c === undefined) {
|
if (c === null) {
|
||||||
c = db._create("_apps", {isSystem: true});
|
c = db._create("_apps", {isSystem: true});
|
||||||
c.ensureUniqueConstraint("mount");
|
c.ensureUniqueConstraint("mount");
|
||||||
}
|
}
|
||||||
|
@ -279,7 +279,6 @@ function listJson (showPrefix, onlyDevelopment) {
|
||||||
}
|
}
|
||||||
var result = [];
|
var result = [];
|
||||||
var doc, res;
|
var doc, res;
|
||||||
|
|
||||||
while (cursor.hasNext()) {
|
while (cursor.hasNext()) {
|
||||||
doc = cursor.next();
|
doc = cursor.next();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue