Jan Steemann
ca1e6288a2
allow functions results as parameters in all function calls
2014-01-06 11:14:54 +01:00
Michael Hackstein
7b745854db
Added target Coordinators and DatabaseList to high level agency communication.
2014-01-06 09:18:56 +01:00
Michael Hackstein
5bed79017e
Optimized readability of routes in agency-comm tests
2014-01-06 00:01:25 +01:00
Michael Hackstein
17cbbcd092
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
2014-01-03 17:11:05 +01:00
Michael Hackstein
ad99e44223
Started implementing of highlevel js agency communication. Right now it is possible to change the target by adding/removing Database servers
2014-01-03 17:10:57 +01:00
Jan Steemann
a7d9b3f578
added test for cluster helper functions
2014-01-03 16:04:40 +01:00
Jan Steemann
3176c772cf
allow locking/unlocking of arbitrary keys
2014-01-03 15:18:48 +01:00
Jan Steemann
84c46ddb4d
added agency.list()
2014-01-03 15:11:03 +01:00
Jan Steemann
532a59d0a3
added agency locks
2014-01-03 13:52:54 +01:00
Jan Steemann
87c1897c23
added lock and unlock functions, yet untested
2014-01-02 18:03:08 +01:00
Jan Steemann
c48d54c49b
conditional execution of agency tests
2014-01-02 17:22:37 +01:00
Jan Steemann
8070db37a2
changed heartbeat watch implementation
2014-01-02 13:36:26 +01:00
Frank Celler
84507cfc44
merged changes from 1.4 back to devel
2013-12-27 14:59:23 +01:00
Jan Steemann
b903d9080d
Merge remote-tracking branch 'origin/devel' into sharding
...
Conflicts:
js/apps/system/aardvark/test/karma/karma.conf.js
2013-12-20 15:35:50 +01:00
Jan Steemann
7c4944de83
added --server.ssl-protocol option for client tools
...
Conflicts:
arangosh/Benchmark/BenchmarkThread.h
lib/GeneralServer/SslAsyncCommTask.h
2013-12-13 17:58:24 +01:00
Jan Steemann
e7ba403998
added --server.ssl-protocol option for client tools
2013-12-13 17:53:51 +01:00
Jan Steemann
5b0713af9c
added recursive watches and structured get
2013-12-12 11:16:41 +01:00
Jan Steemann
13bcc2bf7a
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
2013-12-11 18:39:10 +01:00
Jan Steemann
025a11dbee
fixed comments
2013-12-11 18:37:26 +01:00
Jan Steemann
620f4b1c47
added agency tests
2013-12-11 18:37:15 +01:00
Jan Steemann
44b3237882
moved server-only tests to js/server/tests
...
this hopefully removes some future confusion about the tests
also moved some graph stuff into js/common as client-side graphs did not fully work
make logfile path accessible
2013-12-04 22:05:00 +01:00
Jan Steemann
c63655b64c
make test more reliable
2013-12-04 20:38:07 +01:00
Jan Steemann
13b8b293bc
increased test threshold
2013-11-25 09:40:51 +01:00
Max Neunhoeffer
3aa1b12a45
Merge branch 'skiplist-cleanup' into devel
...
This implements a considerable cleanup of the skip list index code:
- Replace implementation of skip lists by a generic one using
callbacks for comparisons
- The new implementation resides in lib/BasicsC/skip-list.*
- It uses a singly linked list (unidirectional) as opposed to the
previous implementation which used a doubly linked list
- Adjust skip list index code in arangod/SkipLists/skiplistIndex.* to
use the generic skip list implementation
- Unify unique skip lists and non-unique ones into one code base
- Cleanup in skip list index code, in particular with respect to
iterators
- Prepare the scene for sparse skip list indices
2013-11-22 10:47:04 +01:00
Max Neunhoeffer
b23f299aaa
Add unittest for correctness of skiplist index.
2013-11-22 10:40:13 +01:00
Jan Steemann
b75c66c2e4
fixed segfault in AQL optimiser when using IN on constant, non-list values
2013-11-21 22:56:37 +01:00
Jan Steemann
6302003f06
fixed segfault in AQL optimiser when using IN on constant, non-list values
2013-11-21 22:53:32 +01:00
Jan Steemann
436b47eb0c
removed unnecessary shaper attribute from struct
2013-11-20 12:38:47 +01:00
Jan Steemann
0fe4c7b090
fixed shape compaction
2013-11-20 12:02:13 +01:00
Jan Steemann
9054e14232
removed unused variables
2013-11-18 11:22:09 +01:00
Jan Steemann
72aaacbb54
removed priority queues
...
this feature was never advertised nor documented nor tested.
2013-11-18 11:12:36 +01:00
Max Neunhoeffer
929ea7bbf8
Increase a threshold because a unittest failed by coincidence.
2013-11-14 14:22:20 +01:00
Jan Steemann
5c2dcf8f74
added database-directory test
2013-11-11 14:36:49 +01:00
Max Neunhoeffer
ea7abdc027
Add a test suite.
...
This is to test the performance of deletion with a skip-list index
and many documents with the same value in the attribute indexed
by the skip-list.
2013-11-08 09:26:06 +01:00
Jan Steemann
40a21d0efb
fixed bitarray index access
2013-11-07 16:27:23 +01:00
Jan Steemann
9d5e5ff7cc
merged fix for issue #653
2013-11-07 16:26:45 +01:00
Jan Steemann
3c3e89721f
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-11-07 16:25:07 +01:00
Jan Steemann
217e5f897b
fixed bitarray index access
2013-11-07 16:24:57 +01:00
Max Neunhoeffer
7d19f11a70
Add a test suite.
...
This is to test the performance of deletion with a skip-list index
and many documents with the same value in the attribute indexed
by the skip-list.
2013-11-07 16:00:26 +01:00
Jan Steemann
9e78ab5af5
added NTH and POSITION
2013-11-04 18:24:03 +01:00
Jan Steemann
935d1edd53
issue #653 : slow query
2013-11-04 13:33:26 +01:00
Jan Steemann
abcf1c769a
greater tolerance for stddev dist
2013-10-31 18:55:50 +01:00
Jan Steemann
fdceda75e8
greater tolerance for stddev dist
2013-10-31 18:40:17 +01:00
Jan Steemann
0b64f18e77
issue #650 : Randonmess of any() should be improved
2013-10-31 10:37:45 +01:00
Jan Steemann
46d4e14f7b
issue #650 : Randonmess of any() should be improved
2013-10-31 10:09:01 +01:00
Jan Steemann
e190076c29
allow dynamic parameters in DOCUMENT()
2013-10-30 16:19:24 +01:00
Jan Steemann
83866ba58b
made AQL DOCUMENT function polymorphic
2013-10-30 16:19:14 +01:00
Jan Steemann
e576ee5662
allow dynamic parameters in DOCUMENT()
2013-10-30 16:17:37 +01:00
Jan Steemann
73dd3f9185
made AQL DOCUMENT function polymorphic
2013-10-30 15:01:38 +01:00
Jan Steemann
671b1e850b
added tests for dump/restore
2013-10-15 16:47:37 +02:00
Jan Steemann
dc69d6fa60
updated documentation
2013-10-02 17:54:39 +02:00
Jan Steemann
9155b16252
caching for db[...]
2013-09-21 00:12:35 +02:00
Jan Steemann
43a4464daf
grr
2013-09-20 13:33:24 +02:00
Jan Steemann
ed163164c4
fixed queue naming
2013-09-20 13:17:32 +02:00
Jan Steemann
894180dc20
added test cases
2013-09-13 18:25:28 +02:00
Jan Steemann
42441b208f
refactoring of multiple databases, intermediate commit
2013-09-11 11:42:34 +02:00
Jan Steemann
d37b21375b
attempt to fix travis build
2013-09-05 14:51:15 +02:00
Jan Steemann
42b8dfca49
added --server.database option for client tools
2013-09-02 13:02:53 +02:00
Jan Steemann
8ae67b32c8
increased wait time
2013-08-29 14:12:54 +02:00
Jan Steemann
3aab2d73c3
add wait time
2013-08-29 11:38:10 +02:00
Jan Steemann
eb2dee447c
fixed test
2013-08-28 22:50:31 +02:00
Jan Steemann
d30e407c4a
only create new journal file when requested
...
make collection.rotate() publicly available
2013-08-27 14:39:28 +02:00
Jan Steemann
397a73d2f2
fixed tests
2013-08-27 12:19:42 +02:00
Jan Steemann
e6d8687250
added AQL MINUS function
2013-08-26 22:25:30 +02:00
Jan Steemann
6dcdf5582e
added test
2013-08-19 12:36:13 +02:00
Jan Steemann
5a99987673
issue #581 : parameter binding for attributes
2013-08-19 12:29:59 +02:00
Jan Steemann
1fc1bb108d
added replication client tests
2013-08-02 11:45:55 +02:00
Jan Steemann
e86fff18e2
added chunkSize for replication-applier
2013-08-02 11:03:54 +02:00
Jan Steemann
9b6b6e669d
added `totalEvents` for logger
2013-08-02 10:11:13 +02:00
Jan Steemann
d8690e5fa6
make collection revision id a real revision id
2013-08-02 09:37:46 +02:00
Jan Steemann
f1418ec667
updated tests and docs
2013-08-01 16:53:29 +02:00
Jan Steemann
78601319fb
updated replication API
2013-07-30 18:40:35 +02:00
Jan Steemann
461001efd2
split of initial and continuous sync, currently not working
2013-07-30 14:13:49 +02:00
Jan Steemann
9a5a1b02c1
fixed server crash when using firstExample/byExample in a transaction
2013-07-27 17:25:57 +02:00
Jan Steemann
5fe1844ee1
replication tests
2013-07-23 15:03:59 +02:00
Jan Steemann
c4f82088dd
replication tests
2013-07-22 18:12:56 +02:00
Jan Steemann
d0961244c6
added range support for AQL
2013-07-19 18:38:13 +02:00
Jan Steemann
937c843c38
added AQL INTERSECTION function
2013-07-18 16:43:31 +02:00
Jan Steemann
7dcfae65a7
added tests for multi-let
2013-07-18 12:08:27 +02:00
Jan Steemann
e359dc29dd
INCOMPATIBLE CHANGE: changed AQL user function namespace resolution operator from `:` to `::`
...
AQL user-defined functions were introduced in ArangoDB 1.3, and the namespace resolution
operator for them was the single colon (`:`). A function call looked like this:
RETURN mygroup:myfunc()
The single colon caused an ambiguity in the AQL grammar, making it indistinguishable from
named attributes or the ternary operator in some cases, e.g.
{ mygroup:myfunc ? mygroup:myfunc }
The change of the namespace resolution operator from `:` to `::` fixes this ambiguity.
Existing user functions in the database will be automatically fixed when starting ArangoDB
1.4 with the `--upgrade` option. However, queries using user-defined functions need to be
adjusted on the client side to use the new operator.
2013-07-18 12:02:28 +02:00
Jan Steemann
5cf234b40d
simplified query testing and query interface a bit
2013-07-18 02:15:22 +02:00
Jan Steemann
72349558c1
centralised AQL tests
2013-07-18 00:17:39 +02:00
Jan Steemann
354f8018cc
centralise AQL tests
2013-07-17 23:29:07 +02:00
Jan Steemann
2582fbdf50
centralise AQL tests
2013-07-17 23:18:27 +02:00
Jan Steemann
252beb78c8
centralise AQL tests
2013-07-17 23:03:45 +02:00
Jan Steemann
e1bf9b9a9e
centralise AQL tests
2013-07-17 22:16:06 +02:00
Jan Steemann
592a182e96
centralised AQL tests
2013-07-17 22:08:17 +02:00
Jan Steemann
66c9896e65
centralise AQL tests
2013-07-17 22:00:24 +02:00
Jan Steemann
a0c5d1f7b4
simplify AQL query calls
2013-07-17 21:22:24 +02:00
Jan Steemann
c61395dff6
added single line comments for AQL
2013-07-17 15:12:53 +02:00
Jan Steemann
cf2cb53386
fixed test
2013-06-28 10:25:56 +02:00
Jan Steemann
61c43a47b7
fixed queries
2013-06-28 09:54:05 +02:00
Jan Steemann
9dfb7483ff
"doCompact" attribute for collections
2013-06-19 16:51:16 +02:00
Jan Steemann
e8e10844f4
moved compaction tests
2013-06-11 10:41:40 +02:00
Jan Steemann
54b0552dee
use a stable sort in COLLECT
2013-06-06 16:56:39 +02:00
Jan Steemann
5bdaa22049
issue #545
2013-06-04 18:31:16 +02:00
Jan Steemann
fadcb59423
issue #540
2013-05-23 15:24:40 +02:00
Jan Steemann
aca42ef9fd
issue #540 : merged patch by @guidoreina, added test
2013-05-23 12:17:57 +02:00
Jan Steemann
28039b3c8a
one more test
2013-05-17 19:42:55 +02:00
Jan Steemann
78169e3626
issue #531 : thanks to @guidoreina for bugfix suggestions!
2013-05-17 19:29:05 +02:00
Jan Steemann
ab6ca2f017
ported all recent fixes from 1.3
2013-05-16 21:04:04 +02:00
Jan Steemann
3ac55bedbb
issue #512 : bind parameters for limit
2013-05-06 10:47:53 +02:00
Jan Steemann
8e23b92fb9
made "limit" an optional parameter for AQL NEAR()
2013-04-21 15:45:13 +02:00
Jan Steemann
c945dbd2cd
updated transaction API
2013-04-15 11:54:36 +02:00
Jan Steemann
dee5adb9f5
added client side API for transactions
2013-04-12 23:18:48 +02:00
Jan Steemann
d17fc17bf2
updated documentation
2013-04-12 18:09:48 +02:00
Jan Steemann
3e4ddb049a
updated documentation
2013-04-12 00:49:08 +02:00
Jan Steemann
9b5849f650
updated documentation
2013-04-12 00:42:02 +02:00
Jan Steemann
68116b7145
added test
2013-04-11 21:08:45 +02:00
Jan Steemann
b6925a7b7b
transactions
2013-04-11 19:06:55 +02:00
Frank Celler
f373615268
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
arangod/V8Server/v8-actions.cpp
2013-04-10 21:47:51 +02:00
Frank Celler
828b939053
fixed isolates, made ArangoError internal
2013-04-10 21:22:09 +02:00
Jan Steemann
badf20e47e
added AQL function NEIGHBORS
2013-04-09 18:14:46 +02:00
Jan Steemann
1417def879
disallow create/drop/rename operations inside transactions
2013-04-04 09:41:44 +02:00
Jan Steemann
4bb32107ba
triAGENS/ArangoDB-PHP#55
...
optimiser may have mis-optimised duplicate filter statements with limit
2013-03-27 14:22:49 +01:00
Jan Steemann
01c0da5238
fixed more tests
2013-03-25 12:40:07 +01:00
Jan Steemann
9598aebc59
fixed tests and make them not rely on on-the-fly-collection-creation
2013-03-25 12:36:01 +01:00
Frank Celler
38a5cf6a2d
added development-mode
2013-03-22 17:33:25 +01:00
Jan Steemann
9b282ab74c
some cleanup of transaction code
2013-03-21 18:54:38 +01:00
Jan Steemann
46a7f3e1a2
added AQL test case
2013-03-01 11:09:36 +01:00
Jan Steemann
6eaf3333de
added tests
2013-02-28 11:05:02 +01:00
Jan Steemann
8ec5735418
added tests for SUM(), MEDIAN() etc.
2013-02-28 10:56:52 +01:00
Jan Steemann
14c3863a17
added tests for LEFT(), RIGHT()
2013-02-28 09:38:03 +01:00
Jan Steemann
16586c6ee1
make AQL REVERSE() work on strings, too
2013-02-27 14:16:40 +01:00
Jan Steemann
71459b680f
issue #426
2013-02-22 23:26:52 +01:00
Jan Steemann
3e04acf3ee
added AQL functions KEEP() and UNSET()
2013-02-14 16:14:22 +01:00
Jan Steemann
f00bf9c8d2
be more strict with numeric limits
2013-02-13 12:08:59 +01:00
Jan Steemann
ca81913abb
added AQL function EDGES()
2013-02-07 22:53:50 +01:00
Jan Steemann
f16f88a2e6
added docs for CONTAINS(), added LIKE()
2013-02-06 11:40:45 +01:00
Jan Steemann
e06329db48
fix cross-collection queries in AQL
2013-02-05 10:56:28 +01:00
Jan Steemann
2263e959fe
added tests for cross-collection queries
2013-02-05 09:26:05 +01:00
Jan Steemann
d17628e28b
adjusted test
2013-02-04 22:19:40 +01:00
Jan Steemann
de0b290bcd
moved AQL to use AhuacatlTransaction
2013-02-04 11:25:03 +01:00
Jan Steemann
8989bc398c
added more test cases for over/underflow
2013-01-30 20:58:40 +01:00
Jan Steemann
8136f40f79
added more test cases
2013-01-30 10:02:54 +01:00
Jan Steemann
67a9608ce6
added test cases
2013-01-30 09:42:18 +01:00
Jan Steemann
9773a88cf9
prevent endless loops for inf double values being appended to string buffer
2013-01-29 12:07:30 +01:00
Jan Steemann
b7cec5dc22
added test case for naming
2013-01-29 11:19:19 +01:00
Jan Steemann
234f2ecaaa
simplify list access in AQL
2013-01-29 09:15:14 +01:00
Jan Steemann
d4d7123cc8
issue #363 : renamed TREE to TRAVERSAL_TREE
2013-01-28 17:33:17 +01:00
Jan Steemann
909e46c671
moved global AQL functions to internal module
2013-01-25 09:34:51 +01:00
Jan Steemann
ac91506da4
fixed issues reported by jslint, added AQL ATTRIBUTES()
2013-01-24 17:25:48 +01:00
Jan Steemann
8fc4b97710
shortened internal aql function names
2013-01-24 14:55:12 +01:00
Jan Steemann
81dc83b8df
de-globalised aql
2013-01-24 14:49:55 +01:00
Jan Steemann
4b433a511a
added followEdges property for AQL TRAVERSE() function
2013-01-23 11:28:33 +01:00
Jan Steemann
09f0a91595
make MATCHES() AQL function variadic
2013-01-23 10:25:38 +01:00
Jan Steemann
58cead20e7
allow FUNC(...)[...] and FUNC(...).attr in AQL
2013-01-22 11:27:21 +01:00
Jan Steemann
3b4a18fd94
fixed import tests
2013-01-18 11:14:54 +01:00
Jan Steemann
752b9a4846
fixed tests
2013-01-18 03:45:24 +01:00
Jan Steemann
c73cf43874
tests
2013-01-16 18:39:08 +01:00