Jan Steemann
106fedd615
several errors fixed
2013-09-26 09:44:50 +02:00
Jan Steemann
5c0fd200f7
more OOM awareness
2013-09-19 08:44:12 +02:00
Jan Steemann
ca6b184286
added TRI_JSON_STRING_REFERENCE
2013-07-10 17:00:29 +02:00
Jan Steemann
68d2775b39
fixed uninitialised value
2013-05-17 15:22:40 +02:00
Jan Steemann
3ac55bedbb
issue #512 : bind parameters for limit
2013-05-06 10:47:53 +02:00
Frank Celler
f810711a79
FreeBSD port
2013-04-02 18:43:10 +02:00
Frank Celler
1aa5109fa3
updated disclaimer
2013-03-13 17:03:18 +01:00
Jan Steemann
1b2155baf8
minor AQL runtime optimisations
2013-03-06 22:31:03 +01:00
Jan Steemann
8989bc398c
added more test cases for over/underflow
2013-01-30 20:58:40 +01:00
Jan Steemann
843453a76c
test for infinite values to prevent endless while loops in number value printing
2013-01-30 19:26:43 +01:00
Jan Steemann
e50daa33c9
fixed "evil" optimisation case
2013-01-30 09:39: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
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
992c49d4a1
more cases for issue #324
2013-01-08 00:47:44 +01:00
Jan Steemann
443757df3b
some tests for issue #325
2012-12-20 13:35:49 +01:00
Jan Steemann
91911cea85
issue #325
2012-12-20 12:42:24 +01:00
Jan Steemann
7f93615dc6
issue #326
2012-12-19 17:22:01 +01:00
Jan Steemann
a3007277b2
reduced variable scope
2012-12-19 09:49:30 +01:00
Jan Steemann
dd906abbd3
issue #324
2012-12-18 19:04:45 +01:00
Jan Steemann
070f13b2c0
issue #324 : optimise away limit x, 0
2012-12-18 17:06:02 +01:00
Jan Steemann
64737c06f6
some renaming
2012-11-27 14:01:05 +01:00
Jan Steemann
792f57b760
issue #271 : simple paths() function optimisations
...
When an "outbound" query is made with the paths() function, the optimiser will now use an index if a FILTER condition can exploit an index on .source.
Example query:
FOR p IN PATHS(users, relations, "outbound")
FILTER p.source._id == "some-id"
RETURN p
The index on p._id was not exploited before, because the optimiser did not know that variable "p" related to collection "users" and that the condition actually would filter on users._id (the variable name in the FILTER statement is "p.source._id).
Now, AQL functions can define callbacks which are called by the optimiser to try some function-specific optimisations.
The optimise callback for PATHS() tries to exploit indexes for filters that filter on the vertex collection (1st parameter to PATHS() call). Indexes can be exploited if the query is an "outbound" query and there are filters on "source", or if the query is an "inbound" query and there are filters on "destination". "anybound" queries will not be optimised
2012-10-26 13:32:01 +02:00
Oreste Panaia
4d8d78e880
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
VisualStudio/Arango Front End Library/Arango Front End Library.vcxproj
arangod/Actions/RestActionHandler.cpp
arangod/RestServer/ArangoServer.cpp
lib/ApplicationServer/ApplicationServer.cpp
2012-10-22 21:04:12 +08:00
Oreste Panaia
aad73db128
various changes for windows
2012-10-22 20:51:31 +08:00
Jan Steemann
d117f2916a
issue #248 : pull out some sort of subqueries
2012-10-22 09:14:38 +02:00
Jan Steemann
6847caac80
changed misleading member name (secondaryIndexes => allIndexes)
2012-10-10 11:24:36 +02:00
Frank Celler
4181fd5cc4
regenerated files
2012-09-21 17:44:25 +02:00
Jan Steemann
1ef037ce8c
renamed indexes to secondaryIndexes
2012-09-17 09:54:12 +02:00
Jan Steemann
1b1d7ba877
renamed simple_collection to document_collection
2012-09-14 14:46:37 +02:00
Jan Steemann
135af312da
removed some old debug macros
2012-09-11 09:56:57 +02:00
Oreste Panaia
8847d87580
added limited AQL support for bit indexes
2012-09-10 20:42:14 +08:00
Jan Steemann
8326bb2abf
preparation work for issue #137
2012-08-06 10:30:15 +02:00
Jan Steemann
586820f044
bug fixes for the query optimiser
2012-06-29 14:32:19 +02:00
Jan Steemann
e3a075057f
reference accesses can now use indexes
2012-06-13 12:07:29 +02:00
Jan Steemann
2d7505a598
replace references that point to constant values with the constant values
2012-06-12 17:20:48 +02:00
Jan Steemann
381fc2f9f9
optimiser change: collections are annotated with hints on how they are accessed. this info is picked up by the explain command
2012-06-12 16:50:36 +02:00
Jan Steemann
4ec362fc8f
some optimiser stuff
2012-06-12 09:36:58 +02:00
Jan Steemann
d84193bce7
explain & optimizer
2012-06-11 17:55:09 +02:00
Jan Steemann
bd60683228
explain command, 1st version, still unfinished
2012-06-11 13:36:11 +02:00
Jan Steemann
efd48664ef
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
Ahuacatl/ahuacatl-statement-dump.c
Ahuacatl/ahuacatl-statement-dump.h
Ahuacatl/ahuacatl-statementlist.c
Ahuacatl/ahuacatl-tree-dump.c
Ahuacatl/ahuacatl-tree-dump.h
Ahuacatl/ahuacatl-tree-walker.h
Makefile.files
Makefile.in
arangod/Ahuacatl/ahuacatl-tree-dump.c
arangod/Ahuacatl/ahuacatl-tree-dump.h
arangod/Ahuacatl/ahuacatl-tree-walker.c
arangod/Ahuacatl/ahuacatl-tree-walker.h
2012-06-08 17:34:20 +02:00
Frank Celler
d2c758d663
the great rename
2012-06-08 15:01:25 +02:00