1
0
Fork 0
arangodb/arangod/Ahuacatl
Jan Steemann a25881ed7b fixed cases with incorrectly optimised queries, leading to wrong results
The issue was caused when the optimiser decided to use an index on an attribute, but the attribute access was contained in a logical OR as follows:

FILTER (c.<indexed-column> == <value> || c.<some-other-column> == c.<indexed-column>)

In this case, the index on <indexed-column> was accessed with the constant <value>, but the right-hand side of the OR was ignored, leading to possibly incomplete results
2012-11-07 18:33:38 +01:00
..
ahuacatl-access-optimiser.c fixed cases with incorrectly optimised queries, leading to wrong results 2012-11-07 18:33:38 +01:00
ahuacatl-access-optimiser.h fixed cases with incorrectly optimised queries, leading to wrong results 2012-11-07 18:33:38 +01:00
ahuacatl-ast-node.c issue #271: allow very simple optimisations for AQL function usage 2012-10-26 13:32:01 +02:00
ahuacatl-ast-node.h some optimiser stuff 2012-06-12 09:36:58 +02:00
ahuacatl-bind-parameter.c fixed memory zone issues, memleaks 2012-10-10 19:05:16 +02:00
ahuacatl-bind-parameter.h Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-06-08 17:34:20 +02:00
ahuacatl-codegen.c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-22 21:04:12 +08:00
ahuacatl-codegen.h renamed simple_collection to document_collection 2012-09-14 14:46:37 +02:00
ahuacatl-collections.c issue #248: pull out some sort of subqueries 2012-10-22 09:14:38 +02:00
ahuacatl-collections.h renamed document collection to primary collection 2012-09-14 10:19:41 +02:00
ahuacatl-context.c issue #248: pull out some sort of subqueries 2012-10-22 09:14:38 +02:00
ahuacatl-context.h 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
ahuacatl-conversions.c fixed memory issues 2012-10-11 14:17:19 +02:00
ahuacatl-conversions.h explain command, 1st version, still unfinished 2012-06-11 13:36:11 +02:00
ahuacatl-error.c
ahuacatl-error.h
ahuacatl-explain.c fixed a few query optimiser bugs, added test cases 2012-06-29 15:26:35 +02:00
ahuacatl-explain.h removed some old debug macros 2012-09-11 09:56:57 +02:00
ahuacatl-functions.c issue #271: allow very simple optimisations for AQL function usage 2012-10-26 13:32:01 +02:00
ahuacatl-functions.h issue #271: simple paths() function optimisations 2012-10-26 13:32:01 +02:00
ahuacatl-grammar.c issue #248: pull out some sort of subqueries 2012-10-22 09:14:38 +02:00
ahuacatl-grammar.h changed gitignore, added derived files 2012-10-15 09:36:50 +02:00
ahuacatl-grammar.y issue #248: pull out some sort of subqueries 2012-10-22 09:14:38 +02:00
ahuacatl-index.c whitespace 2012-11-07 18:15:10 +01:00
ahuacatl-index.h 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
ahuacatl-node.c various changes for windows 2012-10-22 20:51:31 +08:00
ahuacatl-node.h added explain output for collect statements 2012-06-14 10:09:03 +02:00
ahuacatl-optimiser.c issue #271: simple paths() function optimisations 2012-10-26 13:32:01 +02:00
ahuacatl-optimiser.h issue #248: pull out some sort of subqueries 2012-10-22 09:14:38 +02:00
ahuacatl-parser-functions.c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-06-08 17:34:20 +02:00
ahuacatl-parser-functions.h
ahuacatl-parser.c
ahuacatl-parser.h
ahuacatl-result.c
ahuacatl-result.h
ahuacatl-scope.c issue #248: pull out some sort of subqueries 2012-10-22 09:14:38 +02:00
ahuacatl-scope.h issue #248: pull out some sort of subqueries 2012-10-22 09:14:38 +02:00
ahuacatl-statement-dump.c explain command, 1st version, still unfinished 2012-06-11 13:36:11 +02:00
ahuacatl-statement-dump.h Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-06-08 17:34:20 +02:00
ahuacatl-statement-walker.c issue #248: pull out some sort of subqueries 2012-10-22 09:14:38 +02:00
ahuacatl-statement-walker.h reference accesses can now use indexes 2012-06-13 12:07:29 +02:00
ahuacatl-statementlist.c issue #248: pull out some sort of subqueries 2012-10-22 09:14:38 +02:00
ahuacatl-statementlist.h issue #248: pull out some sort of subqueries 2012-10-22 09:14:38 +02:00
ahuacatl-tokens.c changed gitignore, added derived files 2012-10-15 09:36:50 +02:00
ahuacatl-tokens.l removed superfluous call to strlen() 2012-06-11 08:35:22 +02:00
ahuacatl-variable.c fixed memory zone issues, memleaks 2012-10-10 19:05:16 +02:00
ahuacatl-variable.h some optimiser stuff 2012-06-12 09:36:58 +02:00
aql.ebnf
aql.xhtml