Michael Hackstein
9bb7c0dec6
The skiplist index is now able to index arrays as well
2015-08-21 11:04:04 +02:00
Michael Hackstein
4bb8508d82
Implemented a new improved version of the Array index insertion function.
2015-08-20 14:03:17 +02:00
Michael Hackstein
241905c42c
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-19 12:51:53 +02:00
Jan Steemann
65424143c6
fix VS build
2015-08-19 12:37:34 +02:00
Jan Steemann
28ad41defc
fix compile warnings
2015-08-19 12:22:34 +02:00
Jan Steemann
e9a598c020
do not include deprecated header
2015-08-19 12:01:12 +02:00
Michael Hackstein
1a4d59d954
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-19 11:57:12 +02:00
Jan Steemann
6680f3bb5a
fix Mac build
2015-08-19 11:56:41 +02:00
Michael Hackstein
59e8ea3fad
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-19 11:56:34 +02:00
Jan Steemann
9f0384284f
moved files
2015-08-19 11:19:37 +02:00
Jan Steemann
338dd7e100
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-17 18:41:13 +02:00
Jan Steemann
4e771b2728
replication improvements
2015-08-17 18:41:05 +02:00
Willi Goesgens
35de50d153
set the mac to add hashes too.
2015-08-17 17:31:15 +02:00
Michael Hackstein
e867181a72
Merge remote-tracking branch 'origin/eimerung_hashindex' into array_indexing
2015-08-17 15:58:53 +02:00
Michael Hackstein
2c0bdb5861
Added a function in the attribute parser to transform an expanded attribute to the correct path for pid.
2015-08-17 12:43:13 +02:00
Max Neunhoeffer
1ba7587fc0
Rename ThreadProtector to DataProtector.
2015-08-17 12:43:12 +02:00
Jan Steemann
a8428877e7
some cleanup
2015-08-17 12:43:12 +02:00
Jan Steemann
4db822443b
allow non-const access to string-buffer
2015-08-17 12:43:11 +02:00
Michael Hackstein
8e3e2d547d
Do not push <Class const> into vector. It does not work everywhere
2015-08-17 12:43:11 +02:00
Jan Steemann
98106510d2
remove CONST_CAST helper
2015-08-17 12:43:11 +02:00
Jan Steemann
205d1e73ed
fix Visual Studio compile errors
2015-08-17 12:43:09 +02:00
Michael Hackstein
d7d00a5d0d
Fixed index comparision with multiple components. Introduced by AttributeName format.
2015-08-17 12:43:09 +02:00
Max Neunhoeffer
a18faae89f
Untemplatify ThreadProtector for those with gcc < 4.9.2.
...
We will revert this later once everybody has gcc >= 4.9.2.
2015-08-17 12:43:09 +02:00
Jan Steemann
907e6368c6
some unused function cleanup
2015-08-17 12:43:09 +02:00
Michael Hackstein
c2338d80d0
A user can now create an indux on attribute[*] which will put an index on attribute and ignores the expand flag. Does not harm any feature in AQL now.
2015-08-17 12:43:08 +02:00
Michael Hackstein
17a8f73a06
Now the input for indexes is parsed using the new attribute parser. This means the flags for expanded Attributes are set. Also introduced a transformation function to transform an attributeName list back into a string.
2015-08-17 12:43:07 +02:00
Max Neunhoeffer
a5cb29e026
Improve the explanation of ThreadProtectors.
2015-08-17 12:43:06 +02:00
Max Neunhoeffer
49f74b1baf
Replace DataGuardian by ThreadProtector.
2015-08-17 12:43:06 +02:00
Michael Hackstein
8fbb2739b0
The indexes can now use the new AttributeName struct which contains a flag if the attribute should be Array-Indexed. Right now this flag is hard-coded to false in all cases and not persisted.
2015-08-17 12:43:05 +02:00
Michael Hackstein
c85d5e347a
Implemented a new AttributeNameParser this is able to identify [*] expansion and shall be used for array indexes. Also includes tests.
2015-08-17 12:43:05 +02:00
Jan Steemann
46565e4daf
fix parallel insertion
2015-08-17 12:43:05 +02:00
Max Neunhoeffer
6d5d14a3ed
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2015-08-17 12:40:16 +02:00
Jan Steemann
57e9b55739
use TRI_CHAR_NODE_PAIR()
2015-08-14 00:54:59 +02:00
Max Neunhoeffer
1cfaf524d1
Fix DataProtector after blog post comments.
2015-08-13 23:16:07 +02:00
Jan Steemann
22e14c9444
fix buffer overrun when there are more users than DATA_PROTECTOR_MULTIPLICITY
2015-08-13 20:57:34 +02:00
Jan Steemann
ca5b7661a3
initialize _list to nullptr
...
otherwise _list is uninitialized and if the assignment in the constructor fails with std::bad_alloc,
the destructor will delete from an uninitialized pointer
2015-08-13 20:19:41 +02:00
Jan Steemann
6dc10ba1de
remove unused function
2015-08-13 16:34:55 +02:00
Jan Steemann
a1d0c4e431
fixed g++5.1 compile error, added tests
2015-08-13 11:14:50 +02:00
Jan Steemann
99ac624ab0
declare differently
2015-08-13 00:17:37 +02:00
Jan Steemann
59744e9945
more version information (readline version, tcmalloc usage)
2015-08-12 21:38:50 +02:00
Jan Steemann
7b5ac63591
cppcheck
2015-08-12 21:37:28 +02:00
Jan Steemann
589e67357f
issue #1434 : return more meaningful error message from org/arangodb/general-graph::_fromVertex()
2015-08-12 21:36:27 +02:00
Jan Steemann
f6f10dbd45
removed uncalled functions
2015-08-12 19:46:25 +02:00
Jan Steemann
f1c5480e97
small cleanup
2015-08-12 15:01:33 +02:00
Jan Steemann
e642ce972f
throw error if collection not yet loaded
2015-08-10 17:08:41 +02:00
Max Neunhoeffer
a851b5a69d
Rename ThreadProtector to DataProtector.
2015-08-10 09:54:29 +02:00
Jan Steemann
5d82f0b385
some cleanup
2015-08-07 15:16:33 +02:00
Jan Steemann
68d58248da
allow non-const access to string-buffer
2015-08-07 13:29:38 +02:00
Jan Steemann
da38382202
remove CONST_CAST helper
2015-08-07 13:18:21 +02:00
Jan Steemann
9778bc16fd
fix Visual Studio compile errors
2015-08-07 11:07:56 +02:00