James
3e612acdda
Merge branch 'aql-feature-lazy-index' of ssh://github.com/triAGENS/ArangoDB into aql-feature-lazy-index
2014-11-11 08:23:23 +00:00
James
08e8fd193e
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-lazy-index
2014-11-11 08:21:40 +00:00
Jan Steemann
4a8726ee35
added "split-filters" rule but did not activate it
2014-11-11 00:27:37 +01:00
Jan Steemann
0f3dc692ff
fixed crash when accessing _from or _to of non-edges
2014-11-11 00:24:57 +01:00
Jan Steemann
ed8e06b88e
added PERCENTILE function, draft
2014-11-10 18:10:59 +01:00
Jan Steemann
12d326d62b
updated documentation and operators behavior
2014-11-10 18:05:11 +01:00
Jan Steemann
d05b47cdb6
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-feature-lazy-index
2014-11-09 00:10:10 +01:00
Jan Steemann
d1f4c6b5fe
fixed optimization
2014-11-09 00:09:07 +01:00
Jan Steemann
97b5e906da
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-feature-lazy-index
2014-11-08 23:26:38 +01:00
Jan Steemann
567860cf65
more aggresively optimizer filters
2014-11-08 23:26:04 +01:00
Jan Steemann
9c5d150866
use Ast::ReverseOperator
2014-11-08 22:31:31 +01:00
Jan Steemann
738636db2d
whitespace
2014-11-08 21:26:54 +01:00
Jan Steemann
e120bdec8c
do not allocate too much space for hash index elements
2014-11-08 21:15:44 +01:00
Jan Steemann
7695223744
use emplace_back
2014-11-08 21:13:41 +01:00
James
14e6370c22
cleaning up.
2014-11-08 17:35:27 +00:00
James
e2b8456395
tests and bugfixes.
2014-11-08 17:31:30 +00:00
James
103db8c8b5
more flexible remove-redundant-OR rule
2014-11-08 16:42:39 +00:00
James
bc80940018
correct logic.
2014-11-08 13:52:24 +00:00
James
586cacc2ee
replace-redundant-OR optimizer rule first version.
2014-11-08 13:45:14 +00:00
James
53782f5364
bug fix
2014-11-08 11:39:09 +00:00
James
b849a6da72
some more cleaning up of replace-OR-with-IN
2014-11-08 11:36:56 +00:00
James
84e6881a44
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-lazy-index
...
Conflicts:
arangod/Aql/ExecutionNode.h
2014-11-08 09:53:30 +00:00
Max Neunhoeffer
5f26789c95
Cleanup code after making dispatcher elastic.
2014-11-07 20:25:05 -05:00
Max Neunhoeffer
353b16805a
Add thread local static variable for current DispatcherThread.
2014-11-07 20:12:58 -05:00
Max Neunhoeffer
ab451d8d91
Choose place to tell dispatcher more sensibly.
2014-11-07 17:36:16 -05:00
Max Neunhoeffer
fdb44f8c17
Tell ClusterComm about the dispatcher.
2014-11-07 16:54:22 -05:00
Willi Goesgens
3cb7a2016d
Once we deleted a query from the registry we don't need to close it anymore.
2014-11-07 14:03:22 +01:00
Willi Goesgens
61412f78f3
Fix memleak: if we bail out, we need to free the json as we promised we would.
2014-11-07 13:05:10 +01:00
Jan Steemann
beafbe6a5c
fixed invalid reads
2014-11-07 11:57:26 +01:00
Jan Steemann
48ec4a3539
fixed number of parameters
2014-11-07 11:48:00 +01:00
Jan Steemann
0d01e6c7b6
less verbose error messages
2014-11-07 11:16:25 +01:00
Jan Steemann
f96a3d3f98
forgot to commit
2014-11-07 11:04:21 +01:00
Jan Steemann
b0de1bb226
leaner and meaner error messages
2014-11-07 10:53:00 +01:00
Jan Steemann
c8c16767be
added rule to remove filters if covered by index ranges - not yet activated
2014-11-06 23:18:18 +01:00
Jan Steemann
8e678c50da
mini optimization: share frequently occuring values
2014-11-06 20:14:02 +01:00
Willi Goesgens
fcc6a11a4b
Add debugging code, which adds backtrace on http headers, so you can see in ngrep whats biting you.
2014-11-06 15:17:17 +01:00
James
6822594bff
changed to number of blocks pulled by default by CalculationBlock and ExecutionBlock
2014-11-06 12:51:32 +00:00
Jan Steemann
7d036da648
fixed limit estimation
2014-11-06 13:44:55 +01:00
Jan Steemann
e93a9a8ce2
fixed documentation
2014-11-06 13:39:35 +01:00
James
c54b92c6e7
getting tests to work
2014-11-06 12:24:28 +00:00
Jan Steemann
22d2cfd876
fixed documentation
2014-11-06 13:14:47 +01:00
Jan Steemann
cbe8150e97
fixed potential reason for segfault
2014-11-06 12:59:50 +01:00
James
c063b85d29
working except for 1 test.
2014-11-06 11:42:31 +00:00
James
47810e76e1
quick hack
2014-11-06 10:10:40 +00:00
Jan Steemann
2fe79a65a4
speed up AQL queries with V8 expressions
2014-11-05 16:59:57 +01:00
Jan Steemann
bf30927913
removed canThrow tag for various built-in functions
2014-11-05 14:40:00 +01:00
Jan Steemann
e5abbe92e9
fixed broken cursors if cursor size > batchSize
2014-11-05 12:19:36 +01:00
Jan Steemann
987bfa1285
extended optimizer rule to detect more OR to IN transformation opportunities
2014-11-05 12:10:10 +01:00
Jan Steemann
7137647608
Merge branch 'aql-feature-optimize-or' of https://github.com/triAGENS/ArangoDB into devel
2014-11-05 11:37:10 +01:00
Willi Goesgens
bab1762ee9
Directly route results to v8-objects instead of going via a json object when calling AQL from a V8 context
2014-11-05 10:56:10 +01:00
James
10220c3207
adding functions.
2014-11-04 22:01:36 +00:00
James
095cc8a9e3
removed incorrect assertion
2014-11-04 21:49:37 +00:00
James
37ab716edc
cleaning up
2014-11-04 21:42:34 +00:00
James
3b49921a15
more cleaning up
2014-11-04 21:09:21 +00:00
James
61afce9d10
cleaning up
2014-11-04 21:04:56 +00:00
James
2e48bbb82b
tests are green again
2014-11-04 13:16:39 +00:00
James
04770d3563
nearly working better version of previous
2014-11-04 13:01:51 +00:00
Jan Steemann
830da6dd51
issue #846 : Add within_bounds function to AQL
2014-11-04 12:40:14 +01:00
Willi Goesgens
f920a0f8d4
By Kasper: Fix possible uninitializen variable access.
2014-11-04 10:42:51 +01:00
James
f6e8dcd6ca
more general case working. Code needs cleaning up
2014-11-03 22:23:41 +00:00
James
0ceb51cbd7
compiler warning.
2014-11-03 20:24:59 +00:00
James
62cb8d3a93
bugfix
2014-11-03 11:10:18 +00:00
James
1ff7e8d252
cleaning up
2014-11-03 10:42:16 +00:00
James
fa7668e1ce
snapshot
2014-11-03 10:38:05 +00:00
James
b301102655
Jan's patch
2014-11-03 09:32:12 +00:00
James
901c65559c
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-optimize-or
2014-11-02 18:05:35 +00:00
Jan Steemann
749a0aa408
fixed cloning of AST nodes
2014-11-01 21:54:02 +01:00
Jan Steemann
97206f8c30
fixed cloning of AST nodes
2014-11-01 21:52:28 +01:00
Jan Steemann
1ae150d90a
control number of v8 contexts independently from number of server threads
...
added command-line option `--javascript.v8-contexts` to control the number of
V8 contexts created in arangod.
Previously, the number of V8 contexts was equal to the number of server threads
(as specified by option `--server.threads`). However, it may be sensible to
create different amounts of threads and V8 contexts. If the option is not
specified, the number of V8 contexts created will be equal to the number of
server threads. Thus no change in configuration is required to keep the old
behavior.
2014-11-01 21:02:00 +01:00
James
5f6964796e
still not working
2014-11-01 19:06:59 +00:00
James
2c10e943b8
still doesn't work
2014-11-01 17:12:44 +00:00
Jan Steemann
d1bf47a14a
fixed issue when rolling back remove operations that could not remove from indexes
2014-11-01 18:03:57 +01:00
James
cd710ed55d
snapshot
2014-11-01 16:06:53 +00:00
Jan Steemann
e2cfa056c0
pass query warnings around in cluster
2014-11-01 16:36:58 +01:00
James
6470669871
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-optimize-or
2014-11-01 14:35:26 +00:00
James
d12b5baf12
first try at replace-OR-with-IN optimizer rule.
2014-11-01 14:30:18 +00:00
Jan Steemann
d85dddfc7a
be less verbose
2014-11-01 15:22:27 +01:00
Jan Steemann
025d73ae03
re-added support for fullCount
2014-11-01 15:20:05 +01:00
Jan Steemann
0bb7a6e349
nullptr
2014-11-01 03:36:44 +01:00
Jan Steemann
51d3871195
removed debug output
2014-11-01 02:25:17 +01:00
Jan Steemann
a7af7eed31
fix double free issue
2014-11-01 02:20:13 +01:00
Jan Steemann
26c3b0174f
fixed tests
2014-10-31 19:58:20 +01:00
Max Neunhoeffer
0044d7d1b0
Fix bug in AQL that abort() was called after commit() for trx.
2014-10-31 18:15:40 +01:00
Jan Steemann
a5e7b26c81
added comment [skip ci]
2014-10-31 17:31:40 +01:00
Jan Steemann
4f68960ed7
removed Ahuacatl [skip ci]
2014-10-31 17:31:00 +01:00
Max Neunhoeffer
ddf85982f0
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel
2014-10-31 11:50:54 +01:00
Max Neunhoeffer
8f854ec3b2
Fix a leak in cluster instanciation of queries.
2014-10-31 11:50:34 +01:00
Willi Goesgens
10bf137692
Move free logic into its own function, so we can call in in both places.
2014-10-31 11:28:27 +01:00
Jan Steemann
694d225c9d
silence
2014-10-31 10:38:10 +01:00
Jan Steemann
83252851e6
report warnings in queries
2014-10-30 17:33:15 +01:00
Max Neunhoeffer
c07bfb894d
Fix a memleak in cluster.
2014-10-30 14:58:59 +01:00
Max Neunhoeffer
e74e3ac8db
Fix a use after free in RestAqlHandler.
2014-10-30 14:58:34 +01:00
Max Neunhoeffer
4503d7a982
Fix a memleak in instanciation.
2014-10-30 14:58:12 +01:00
Max Neunhoeffer
3960ff5667
Fix TRI_FreeBarrier by giving two variants.
2014-10-30 09:51:13 +01:00
Max Neunhoeffer
1d867643d5
Protect some flags in a barrier by the barrier lock.
2014-10-30 09:36:38 +01:00
Jan Steemann
31d875921f
removed TODOs
2014-10-30 00:45:55 +01:00
Jan Steemann
09e0a4e3c4
nullptr
2014-10-29 23:17:56 +01:00
Jan Steemann
0903c1b9b6
use more precomputed values in expressions
2014-10-29 21:41:00 +01:00
Jan Steemann
f0fc42645b
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
js/common/modules/jsunity.js
2014-10-29 21:34:55 +01:00
Jan Steemann
7c180b31fb
hide experimental functions for now
2014-10-29 20:53:50 +01:00