1
0
Fork 0
Commit Graph

133 Commits

Author SHA1 Message Date
Frank Celler 250726ca00 reorganisation of modules 2013-01-17 10:30:35 +01:00
Frank Celler 7380ddfabe Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	arangosh/V8Client/arangosh.cpp
	bin/arango32.msi
	bin/arango64.msi
	lib/BasicsC/win-utils.c
2013-01-15 15:50:47 +01:00
Oreste Panaia c01a5c6275 arango shell and import 2013-01-14 20:16:09 +08:00
Jan Steemann 8bf8a733a2 added traversal function 2013-01-13 13:48:23 +01:00
Jan Steemann 43dee1dcf4 fulltext queries from AQL, documentation 2013-01-11 22:25:08 +01:00
Jan Steemann 7be548ab5d issue #271: optimise LENGTH(p.edges) operator const-value 2013-01-10 01:08:12 +01:00
Oreste Panaia 9baae9c129 windows bug fixes 2013-01-09 22:23:35 +08:00
Jan Steemann 992c49d4a1 more cases for issue #324 2013-01-08 00:47:44 +01:00
Frank Celler 503e0ff8fe fixed merge conflicts 2013-01-02 18:07:57 +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
Frank Celler d5f24ce13c Merge remote-tracking branch 'origin/windows' into HEAD
Conflicts:
	CHANGELOG
	Documentation/InstallationManual/Installing.md
	Documentation/Makefile.files
	Documentation/Scripts/generateTOC.py
	Documentation/header.html
	Installation/OBS/clean-repo.sh
	Installation/OBS/create-repo.sh
	Installation/OBS/create-ymp.sh
	Installation/OBS/index.html
	Installation/OBS/load-repo.sh
	Makefile.in
	VERSION
	aclocal.m4
	arangod/Ahuacatl/ahuacatl-functions.c
	arangod/Documentation/user-manual.dox
	arangod/V8Server/v8-actions.cpp
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/collection.c
	arangod/VocBase/datafile.c
	arangosh/V8Client/arangosh.cpp
	config/compile
	config/config.guess
	config/config.sub
	config/depcomp
	config/install-sh
	config/missing
	configure
	configure.ac
	js/server/arango-upgrade.js
	js/server/modules/org/arangodb/actions.js
	lib/BasicsC/logging.c
	lib/Utilities/ScriptLoader.cpp
2012-12-20 11:11:47 +01:00
Oreste Panaia 83ded3fc1f windows fixes 2012-12-20 17:17:30 +08:00
Jan Steemann 786e5876b5 less verbose AQL 2012-12-19 17:25:58 +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
Frank Celler 621e4409bc Merge remote-tracking branch 'origin/1.1' into devel
Conflicts:
	.gitignore
	CHANGELOG
	Documentation/Makefile.files
	Installation/build.sh
	Installation/epm/arangodb.list
	Makefile.in
	README
	README.md
	VERSION
	aclocal.m4
	arangod/HashIndex/hasharray.c
	arangod/RestServer/ArangoServer.cpp
	arangod/V8Server/ApplicationV8.cpp
	config/config.guess
	config/config.sub
	config/depcomp
	configure
	configure.ac
	html/admin/js/master.js
	js/server/arango-password.js
	js/server/version-check.js
	lib/BasicsC/files.c
	lib/BasicsC/logging.c
	utils/Makefile.files
2012-12-18 13:37:34 +01:00
Jan Steemann ddc682f9d1 adjusted formatting of debug log message 2012-12-17 13:23:21 +01:00
Jan Steemann 58686a8c2e issue #323 2012-12-17 10:18:46 +01:00
Jan Steemann 81d6146d02 issue #323 2012-12-17 10:16:26 +01:00
Jan Steemann b5d0457f3a fixed some issues reported by cppcheck 2012-12-12 18:42:11 +01:00
Oreste Panaia 857b66c490 windows version 2012-12-06 20:44:01 +08:00
Jan Steemann f9f893d4b7 extended AQL DOCUMENT() function to take a list of ids 2012-12-05 14:14:44 +01:00
Jan Steemann a9df4d22cb extended AQL document() function to take id lists 2012-12-05 14:10:06 +01:00
Jan Steemann fd61b74174 added AQL function DOCUMENT() to retrieve a document by its _id value 2012-12-05 11:48:56 +01:00
Jan Steemann e4e95fabfe added AQL function DOCUMENT() 2012-12-05 11:47:03 +01:00
Jan Steemann 1811ce9186 fixed some issues found by cppcheck 2012-12-04 18:21:29 +01:00
Jan Steemann 19fb9d0aea added stub functions for fulltext indexes 2012-11-30 14:50:02 +01:00
Jan Steemann f634b1aff0 code unification 2012-11-29 22:34:49 +01:00
Jan Steemann cbad6b526a make collections accesible via name instead of id.
this allows using the collection name instead of ids in _from, _to, _id etc.
2012-11-28 13:16:15 +01:00
Jan Steemann 64737c06f6 some renaming 2012-11-27 14:01:05 +01:00
Jan Steemann bd3c8189dc Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-11-27 13:56:08 +01:00
Jan Steemann d4daccb3a5 added a fix and tests for issue #293 2012-11-27 13:55:52 +01:00
Frank Celler 249492a89c Merge remote-tracking branch 'origin/1.1' into devel
Conflicts:
	CHANGELOG
	Documentation/Manual/GlossaryCollectionName.md
	Documentation/Manual/NewFeatures11.md
	Documentation/UserManual/FirstStepsArangoDB.md
	VERSION
	arangod/Documentation/api-blueprints.dox
	arangod/HashIndex/hasharray.c
	arangod/RestHandler/RestVocbaseBaseHandler.cpp
	arangod/RestServer/ArangoServer.cpp
	arangod/V8Server/v8-actions.cpp
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/compactor.c
	arangod/VocBase/document-collection.c
	configure.ac
	html/admin/js/master.js
	js/server/ahuacatl.js
	js/server/arango-upgrade.js
	lib/BasicsC/voc-errors.h
	lib/V8/V8LineEditor.cpp
	lib/V8/v8-utils.cpp
2012-11-27 12:34:58 +01:00
Jan Steemann eac11fb793 issue #293 2012-11-24 03:16:23 +01:00
Jan Steemann 317b7f9cab issue #292 2012-11-24 00:04:21 +01:00
Jan Steemann bc94851026 fixed compile warnings 2012-11-23 13:18:00 +01:00
Jan Steemann bc9cf9428a issue #287 2012-11-20 18:27:48 +01:00
Jan Steemann 0f8767a996 issue #287 2012-11-20 18:22:31 +01:00
Jan Steemann 66cf084232 fixed issue #283: AQL LENGTH() now works on documents, too 2012-11-19 14:01:47 +01:00
Jan Steemann 37750da396 * fixed issue #283: AQL LENGTH() now works on documents, too 2012-11-19 14:00:09 +01:00
Jan Steemann 66bc12901c fixed AQL optimiser bug, related to OR-comined conditions on the same attribute 2012-11-16 12:16:52 +01:00
Jan Steemann c8b18a338a fixed AQL optimiser bug, related to OR-combined conditions on the same attribute 2012-11-16 12:15:33 +01:00
a-brandt 3e302a5aea changed function TRI_IsAllowedCollectionName 2012-11-14 14:09:00 +01:00
Jan Steemann fd6eef1adc 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:52:25 +01:00
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
Jan Steemann bdccef3965 whitespace 2012-11-07 18:15:10 +01:00
Jan Steemann a68fff16e2 issue #271: allow very simple optimisations for AQL function usage
This change will create field access hints also for AQL function calls.
Calls to functions will not be optimised, but meaningless usages of functions will not be optimised away.
For example:

FOR p IN PATHS(users, relations, "outbound")
  FILTER LENGTH(p.edges) > 0 && LENGTH(p.edges) < 0
  RETURN p

The FILTER in the above query uses the LENGTH() function two times in a way that no result will be produced.
Before, function calls were excluded from expression collapsing and simplification.
Now, multiple calls to the same function with the same call argument might be optimised away if the calls will
lead to no results being produced. This will only work for functions that are called with exactly one argument
which also must be an attribute name, and when the function calls are used in relational operations.
2012-10-26 13:32:01 +02:00