1
0
Fork 0

issue #252: add _modules collection by default

This commit is contained in:
Jan Steemann 2012-10-22 13:59:37 +02:00
parent 62942eb028
commit 21527dbb33
2 changed files with 14 additions and 0 deletions

View File

@ -32,6 +32,8 @@ v1.1.beta1 (2012-XX-XX)
- if the length of the HTTP headers is greated than the maximum allowed size (1 MB), - if the length of the HTTP headers is greated than the maximum allowed size (1 MB),
the server will fail with HTTP 431 (request header fields too large) the server will fail with HTTP 431 (request header fields too large)
* issue #252: create _modules collection using arango-upgrade
* issue #251: allow passing arbitrary options to V8 engine using new command line option: * issue #251: allow passing arbitrary options to V8 engine using new command line option:
--javascript.v8-options. Using this option, the Harmony features or other settings in --javascript.v8-options. Using this option, the Harmony features or other settings in
v8 can be enabled if the end user requires them v8 can be enabled if the end user requires them

View File

@ -207,6 +207,18 @@ function main (argv) {
return true; return true;
}); });
// create the _modules collection
addTask("setup _modules collection", 1, function () {
// create a collection named "_modules"
var modules = db._create("_modules", { isSystem: true });
if (modules == null) {
console.error("creating modules collection '_modules' failed");
return false;
}
return true;
});
console.log("Upgrade script " + argv[0] + " started"); console.log("Upgrade script " + argv[0] + " started");
console.log("Server VERSION is: " + currentVersion); console.log("Server VERSION is: " + currentVersion);