Jan Steemann
7b3ee1e452
Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
2014-09-08 09:05:58 +02:00
Max Neunhoeffer
b88bceda00
Fix memleaks.
2014-09-05 18:20:48 +02:00
Max Neunhoeffer
63020e078e
Prevent readline-history memleak.
2014-09-05 09:11:25 +02:00
Willi Goesgens
ebbb9c34b6
Redundand-Sort: implement removing of left item superseeding the sort
2014-09-04 17:53:20 +02:00
Willi Goesgens
30b33a1793
Fix buffer overrun while comparing two sortNodes
2014-09-04 17:29:22 +02:00
Willi Goesgens
8cb1330cc2
Add optimizer tests for removing unneccessary calculations.
2014-09-04 16:57:53 +02:00
Willi Goesgens
e23cbf1add
Work on Filter to IndexRangeNode tests
2014-09-04 16:33:37 +02:00
Willi Goesgens
2943451c6c
'var' is a js keyword, rename it to variable.
2014-09-04 13:26:52 +02:00
Willi Goesgens
8f1123c8b9
Rangeinfo: fix handling of < and >; the handling of _undefined was wrong and we would never add these ranges.
2014-09-04 11:52:35 +02:00
Willi Goesgens
fab66690eb
Fix syntax.
2014-09-03 17:26:44 +02:00
Willi Goesgens
96186458b9
Use index for Sort: add more tests, more clever test data structures.
2014-09-03 17:15:49 +02:00
Willi Goesgens
49ff0423f0
Recurse into subqueries to dig for nodes; thus the test gets a flat representation.
2014-09-03 17:14:21 +02:00
Willi Goesgens
ec67a07f9b
Parser: when throwing parse exceptions add the query and a pointer to the actual indicated error to the message.
2014-09-03 16:13:35 +02:00
Willi Goesgens
8ec9525c05
SortIndex: move inspection of IndexRangeNode into functions.
2014-09-03 11:05:03 +02:00
Willi Goesgens
74784da12d
Use function to search for whether there is a sortnode or not.
2014-09-03 10:40:37 +02:00
Willi Goesgens
61d1bfa76b
SortIndex: only indicate we modified a rule if we realy did.
2014-09-03 09:47:08 +02:00
Willi Goesgens
135afc043c
Try checking whether rules didn't apply because of non-match
2014-09-02 17:30:07 +02:00
Willi Goesgens
8ffdd01d5f
Cleanup of tests
...
- use assertEqual
- use centralized definitions for the various optimizer parameter permutations
2014-09-02 17:11:03 +02:00
Max Neunhoeffer
6f22f5529a
Fix memory leak, AqlValues must be destroyed explicitly.
2014-09-02 15:19:21 +02:00
Max Neunhoeffer
fb9481c208
Fix another memory leak.
2014-09-02 14:33:08 +02:00
Max Neunhoeffer
b86dfdd2b0
Fix a memory leak in deletion of AqlValues that are no longer needed.
2014-09-02 11:52:43 +02:00
Max Neunhoeffer
7e7b47ab71
Sort out negative cost estimations.
2014-09-02 10:15:02 +02:00
Willi Goesgens
f0952e9109
Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2
2014-09-01 18:49:10 +02:00
Willi Goesgens
e29668c514
SortIndex: start implementing unittests for the different usecases.
2014-09-01 18:48:32 +02:00
Willi Goesgens
021f3371f2
SortIndex: move the unlinking of the sort attributes after unlinking the sort itself
2014-09-01 18:30:49 +02:00
Willi Goesgens
c1d0f8bccc
SortIndex: as long as the Index superseeds the sort critereon its still a full match.
2014-09-01 18:29:09 +02:00
Jan Steemann
79f9ceaaf5
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
2014-09-01 17:13:58 +02:00
Thomas Schmidts
20a0db11f3
Changed gitbook theme and updated it to new version
2014-09-01 16:37:47 +02:00
Jan Steemann
005e727bde
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
lib/V8/v8-conv.cpp
2014-09-01 16:15:32 +02:00
Jan Steemann
848ce68dc3
fixed too eager duplicates check for shaper
2014-09-01 15:48:58 +02:00
Jan Steemann
822c5daa32
assert costs are positive
2014-09-01 15:03:23 +02:00
Willi Goesgens
dbb4ef6e41
add tests to revalidate IndexRangeNodes superseeding sorts
...
TODO: two cases aren't found by the 'use-index-range' as we would expect
2014-09-01 13:35:49 +02:00
Willi Goesgens
3b93d0847d
SortIndex: fix the way we register our results to the framework
2014-09-01 13:33:18 +02:00
Willi Goesgens
cd29afd88f
Fix pattern to index matcher
...
- if the number of match patterns is zero, this is not a match at all.
- if the number of condition is unequal match pattern to a match pattern this isn't a full match.
2014-09-01 13:31:39 +02:00
Jan Steemann
a02b962e3e
added optimizer test
2014-09-01 12:14:15 +02:00
Jan Steemann
7851e5e54c
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
2014-09-01 11:05:41 +02:00
Jan Steemann
0b3e1557d5
fixed creating database w/ users in cluster
2014-09-01 11:05:18 +02:00
Jan Steemann
f60952a12e
fixed compile warnings and errors in Visual Studio
2014-09-01 10:42:11 +02:00
Jan Steemann
574b3f3d18
added ArangoShell tutorial
2014-08-30 19:46:20 +02:00
Jan Steemann
904863adee
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
2014-08-30 17:37:19 +02:00
Jan Steemann
2fee43c5cf
fixed typos
2014-08-30 17:36:47 +02:00
Jan Steemann
aadd0f9254
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Utils/CollectionNameResolver.h
arangod/V8Server/v8-vocbase.cpp
2014-08-30 17:35:08 +02:00
Jan Steemann
7771621fc6
take compatibility settings into account even for async requests
2014-08-30 17:26:45 +02:00
Jan Steemann
d1454294c1
removed hard-coded value
2014-08-30 17:26:36 +02:00
Jan Steemann
c0463a1797
added `type` option for `GET /_api/document?collection=...`
...
Conflicts:
CHANGELOG
2014-08-30 17:26:24 +02:00
Jan Steemann
66d556b003
re-added cases for data types
2014-08-30 02:42:35 +02:00
Jan Steemann
799a845967
added V8StringConverter
2014-08-30 02:32:59 +02:00
Jan Steemann
7d500b7234
speed up instanciation of v8 ShapedJson objects
...
now a static buffer is used to create multiple string values
such as `_id`, `_key`, `_rev`, `_from` and `_to`.
this saves a few memory allocations per document
Conflicts:
arangod/Utils/CollectionNameResolver.h
arangod/V8Server/v8-vocbase.cpp
2014-08-30 01:47:58 +02:00
Jan Steemann
6844433558
do not complain about missing dispatcher when server is started with `--no-server` option
2014-08-30 01:34:10 +02:00
Jan Steemann
c90777738d
speed up instanciation of v8 ShapedJson objects
...
now a static buffer is used to create multiple string values
such as `_id`, `_key`, `_rev`, `_from` and `_to`.
this saves a few memory allocations per document
2014-08-30 01:32:20 +02:00