Jan Steemann
bef21db8d8
renamed variable
2012-11-08 18:47:39 +01:00
Jan Steemann
b7b2c87ea8
re-used function declaration functions in v8-query
2012-11-08 18:44:10 +01:00
Jan Steemann
149c6c1fc1
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2012-11-08 17:47:53 +01:00
Jan Steemann
64c6bc5cb0
renamed marker member _deletion to _validTo, some cleanup
2012-11-08 17:47:18 +01:00
Jan Steemann
5b4f8431b4
removed unused _eid from master pointer
2012-11-08 16:36:08 +01:00
a-brandt
8532aecd73
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2012-11-08 16:24:43 +01:00
a-brandt
cc919edc69
bug fix negative _key
2012-11-08 16:23:09 +01:00
Jan Steemann
30e29ee0b1
removed unnecessary function parameters
2012-11-08 16:14:34 +01:00
Jan Steemann
6b9e43d4f5
removed unused function
2012-11-08 15:23:03 +01:00
Jan Steemann
2ea13cf0ed
small fixes
2012-11-08 10:15:29 +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
308455f842
issue #272 : fixed typo
2012-11-07 16:53:36 +01:00
Jan Steemann
e657f9d6b4
made "_vertices" a shared string
2012-11-06 19:35:51 +01:00
Jan Steemann
1fc641b001
use predefined constant when wrapping
2012-11-06 19:29:29 +01:00
Jan Steemann
dacd2fb70c
some cleanup
2012-11-06 19:24:27 +01:00
Jan Steemann
59791248bf
some refactoring of v8-vocbase, trx integration
2012-11-06 19:02:09 +01:00
Jan Steemann
203560d30b
moved transactions into javascript object
2012-11-06 14:42:52 +01:00
Jan Steemann
0ed1f985fe
create private copies of other write transactions
2012-11-06 12:56:51 +01:00
Jan Steemann
aee9599baa
introduced write-locks
2012-11-05 18:22:24 +01:00
Jan Steemann
4276215251
some cleanup
2012-10-31 18:20:22 +01:00
Jan Steemann
d9f34fd88e
refactored and simplified document CRUD methods
2012-10-31 18:04:12 +01:00
Jan Steemann
6e22aef697
parameter reduction
2012-10-31 15:06:58 +01:00
Jan Steemann
d1bc1513aa
moved creation of primary index into index.c
2012-10-31 13:55:57 +01:00
Jan Steemann
42206c990c
moved functions from primary to document collection
2012-10-31 13:29:07 +01:00
Jan Steemann
8cb8f2ce0e
removed unused collection functions
2012-10-31 13:18:57 +01:00
Jan Steemann
07a9f35572
pass vocbase to trx
2012-10-31 13:18:36 +01:00
Jan Steemann
d9f8219bd6
added --enable-trx option
2012-10-31 11:21:06 +01:00
Jan Steemann
824a317bd3
removed unused line
2012-10-31 10:52:49 +01:00
Jan Steemann
60f076de91
removed unused barrier reference
2012-10-31 10:34:52 +01:00
a-brandt
759f00e3d7
Bugfix wrong key length check
2012-10-30 14:44:52 +01:00
a-brandt
bfd2239a80
added "blueprints" api to "Under Construction" section
2012-10-30 14:24:41 +01:00
a-brandt
3fb488c3a3
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2012-10-30 12:31:50 +01:00
a-brandt
5b77d5c3ad
added key length check
2012-10-30 12:31:27 +01:00
a-brandt
fff25d5ac3
renamed "blueprint" to "blueprints" and added documentation and tests
2012-10-30 12:29:51 +01:00
Jan Steemann
a585b64f79
implementation of global transaction lists
2012-10-30 11:17:54 +01:00
Jan Steemann
665a6d4b7a
transaction functionality, very early, not at all working
2012-10-29 18:14:42 +01:00
Jan Steemann
b9008cbdd5
removed TRI_voc_did_t, removed some deprecated typedefs
2012-10-29 15:45:52 +01:00
Jan Steemann
21735bb267
minor changes
2012-10-29 15:34:28 +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
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
a-brandt
7af1337607
bugfix wrong error message with exit()
2012-10-26 12:59:20 +02:00
a-brandt
7daa018969
removed "reuseID"
2012-10-26 12:36:13 +02:00
a-brandt
58926a145a
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2012-10-26 12:28:42 +02:00
a-brandt
aa265caee2
update
2012-10-26 12:28:22 +02:00
Jan Steemann
4bbdb5a912
fix gcc warning
2012-10-26 08:32:01 +02:00
Jan Steemann
296ad4f5e7
reduce index bloat for edges
2012-10-25 22:02:31 +02:00
Jan Steemann
1576ed4ba0
change result output of bidirectional edges
2012-10-25 18:07:10 +02:00
Jan Steemann
4d79cfd5cb
some cleanup
2012-10-25 17:44:38 +02:00
Jan Steemann
2134b17d13
fixed some compile warnings
2012-10-25 17:30:39 +02:00
Jan Steemann
f0977e261f
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2012-10-25 17:19:25 +02:00
Jan Steemann
cb6c8c8e7e
added bidirectional edges, fixup edges index
2012-10-25 17:18:54 +02:00
a-brandt
26b7f4a996
added datafile upgrade
2012-10-25 11:51:45 +02:00
Jan Steemann
d5223968e4
removed some non-used code
2012-10-24 18:39:11 +02:00
Jan Steemann
1151ef2481
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2012-10-24 12:57:16 +02:00
Jan Steemann
ac95cc7ff9
documentation for #265
2012-10-24 12:56:52 +02:00
a-brandt
8256985a87
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2012-10-24 12:43:19 +02:00
Jan Steemann
5e89667d4a
issue #265
2012-10-24 12:41:29 +02:00
a-brandt
71f1b7c5bd
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2012-10-24 12:36:39 +02:00
a-brandt
e66daf3f43
bugfix unit tests
2012-10-24 12:36:11 +02:00
Jan Steemann
09b14c7e1b
updated documentation
2012-10-24 12:29:16 +02:00
a-brandt
ba5a98e613
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2012-10-24 10:47:21 +02:00
a-brandt
c2d0749178
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
arangod/RestHandler/RestDocumentHandler.cpp
arangod/RestHandler/RestEdgeHandler.cpp
arangod/RestHandler/RestImportHandler.cpp
arangod/V8Server/v8-vocbase.cpp
arangod/VocBase/document-collection.c
arangod/VocBase/document-collection.h
arangod/VocBase/primary-collection.c
arangod/VocBase/primary-collection.h
2012-10-24 10:46:38 +02:00
Jan Steemann
95c9c85608
documentation update
2012-10-24 09:39:39 +02:00
Jan Steemann
d4a116525b
some documentation and error message updates
2012-10-23 17:02:31 +02:00
a-brandt
9a599e468a
added "_key" attribute
2012-10-23 15:58:09 +02:00
Jan Steemann
349316afeb
updates docs
2012-10-23 10:25:07 +02:00
Jan Steemann
75c5a660ed
made target revision handling more clear
2012-10-23 10:11:06 +02:00
Jan Steemann
4a25b5984c
fixed wrong ref target
2012-10-23 10:10:45 +02:00
Jan Steemann
a8baadae9e
issue #256
2012-10-22 17:27:49 +02:00
Oreste Panaia
56cd3327a6
merge problems
2012-10-22 21:51:23 +08: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
Frank Celler
20cf93a125
Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
2012-10-22 11:34:23 +02:00
Frank Celler
884917e0a0
fixed paths of repo
...
Conflicts:
CHANGELOG
2012-10-22 11:33:27 +02:00
Jan Steemann
edb332ed87
issue #251 : added --javascript.v8-options command line argument
2012-10-22 10:19:49 +02:00
Jan Steemann
8d6c2e38bd
issue #251 : added --javascript.v8-options command line argument
2012-10-22 10:17:57 +02:00
Jan Steemann
6d1201b2ec
issue #248 : allow AQL optimiser to pull out completely uncorrelated subqueries to the top level, resulting in less repeated evaluation of the subquery
2012-10-22 09:23:58 +02:00
Jan Steemann
d117f2916a
issue #248 : pull out some sort of subqueries
2012-10-22 09:14:38 +02:00
Frank Celler
3b5a0967bc
Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
CHANGELOG
Documentation/Makefile.files
Installation/build.sh
arangod/Documentation/communication.dox
arangod/HashIndex/hasharray.c
arangod/HashIndex/hashindex.c
lib/Rest/Endpoint.cpp
lib/Rest/Endpoint.h
lib/Rest/EndpointIp.h
lib/Rest/EndpointIpV4.h
lib/Rest/EndpointIpV6.h
lib/Rest/EndpointUnixDomain.cpp
2012-10-20 22:37:25 +02:00
Frank Celler
7f33ac5519
added autoload for modules
...
Conflicts:
CHANGELOG
js/server/js-server.h
2012-10-20 22:07:50 +02:00
Frank Celler
4d6b3e1b5f
more manual cleanup
2012-10-18 18:02:13 +02:00
Frank Celler
aaf74fe8f6
fixed title for website output
2012-10-18 17:33:21 +02:00
Frank Celler
e8093d68fe
upgraded to Doxygen 1.8.x
2012-10-18 16:38:20 +02:00
Frank Celler
9cb12583c6
Merge branch '1.1' of github.com:triAGENS/ArangoDB into 1.1
2012-10-18 15:42:03 +02:00
Frank Celler
5cdb1c3868
merged examples paths, new intro text
2012-10-18 15:41:54 +02:00
Jan Steemann
83b9001f62
removed many unused variables
2012-10-17 18:50:17 +02:00
Jan Steemann
8684b2630d
fixed a crash with --database.force-sync-shapes = false
2012-10-17 18:46:46 +02:00
Jan Steemann
4df461b783
fixed a crash with --database.force-sync-shapes = false
2012-10-17 18:45:24 +02:00
Frank Celler
3aebed3020
Merge branch '1.1' of github.com:triAGENS/ArangoDB into 1.1
...
Conflicts:
Documentation/Makefile.files
2012-10-17 18:03:46 +02:00
Frank Celler
1efad1d9c7
fixed file permissions
2012-10-17 18:01:57 +02:00
Jan Steemann
937168d098
slightly less comparisons
2012-10-17 17:51:19 +02:00
Jan Steemann
d58c48bdd8
fix rollback of edge update
...
The rollback of edge marker modification used a wrong marker size and thus uninitialised memory.
Achim found this
2012-10-17 17:25:12 +02:00
Jan Steemann
4fcd8bfac5
fix rollback of edge update
...
The rollback of edge marker modification used a wrong marker size and thus uninitialised memory.
Achim found this
2012-10-17 17:23:02 +02:00
Jan Steemann
a5402ee458
comments
2012-10-17 17:02:45 +02:00
Jan Steemann
5c4d981e7a
added tests, fixed documentation
2012-10-17 16:50:35 +02:00
Jan Steemann
057cadc5c0
added some tests, fixed docs
2012-10-17 16:49:48 +02:00
Jan Steemann
4db3f9ca29
issue #245
2012-10-17 15:50:55 +02:00
Jan Steemann
53669bd342
issue #245
2012-10-17 15:50:06 +02:00
Jan Steemann
158ab1c5f1
fixed doxygen error
2012-10-17 14:26:00 +02:00