1
0
Fork 0

Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel

This commit is contained in:
Max Neunhoeffer 2017-03-23 12:33:31 +01:00
commit b07f302ce5
3 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,8 @@
devel
-----
* increase default collection lock timeout from 30 to 900 seconds
* added function `db._engine()` for retrieval of storage engine information at
server runtime

View File

@ -84,7 +84,7 @@ class Methods {
public:
/// @brief time (in seconds) that is spent waiting for a lock
static constexpr double DefaultLockTimeout = 30.0;
static constexpr double DefaultLockTimeout = 900.0;
class IndexHandle {
friend class transaction::Methods;

View File

@ -54,6 +54,11 @@ function ahuacatlArithmeticTestSuite () {
tearDown : function () {
},
testConstAttributeAccess : function () {
var actual = getQueryResults("LET it = { a: 4, b: 5, c: 6 } RETURN [ it.a * 3, it.b * 4, it.c * 5 ]");
assertEqual([ [ 4 * 3, 5 * 4, 6 * 5 ] ], actual);
},
////////////////////////////////////////////////////////////////////////////////
/// @brief test unary plus
////////////////////////////////////////////////////////////////////////////////