1
0
Fork 0
Commit Graph

6053 Commits

Author SHA1 Message Date
Michael Hackstein 5a5d1de7ea Moved the insertion of elements into an indox to the super class. Is only used for Skiplist and Hash. Might probably be used by other indicies later 2015-08-17 12:43:13 +02:00
Michael Hackstein d69c9a920e Fixed an issue with expanded attribteus to pid strings 2015-08-17 12:43:13 +02:00
Jan Steemann 453aa78633 use std::vector 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 56231413be use unique_ptr 2015-08-17 12:43:12 +02:00
Jan Steemann a8428877e7 some cleanup 2015-08-17 12:43:12 +02:00
Jan Steemann 28da1d5066 use std::vector 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
Max Neunhoeffer 43a4ba0285 Delete a TRI_vector_t usage. 2015-08-17 12:43:10 +02:00
Jan Steemann fc900b6451 remove compiler warning 2015-08-17 12:43:10 +02:00
Max Neunhoeffer aac9f393d8 Fix bugs with database lists on coordinator. 2015-08-17 12:43:10 +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 ba84a982b6 use unique_ptr 2015-08-17 12:43:09 +02:00
Jan Steemann 907e6368c6 some unused function cleanup 2015-08-17 12:43:09 +02:00
Jan Steemann 5494563601 removed forward for non-existing type 2015-08-17 12:43:08 +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
Max Neunhoeffer d474c31513 Use ThreadProtector for lists of databases. 2015-08-17 12:43:07 +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
Jan Steemann 40aab297fb remove useless reserve 2015-08-17 12:43:06 +02:00
Jan Steemann cc42bd1c85 log logfiles location on startup 2015-08-17 12:43:06 +02:00
Jan Steemann a775195737 fixed potential value overruns 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
Jan Steemann 91ac382c33 fixed invalid iterator 2015-08-17 12:43:05 +02:00
Jan Steemann c245f103e1 no explicit make_pair 2015-08-17 12:43:05 +02:00
Jan Steemann d0fd1ea373 use unique_ptr 2015-08-17 12:43:05 +02:00
Jan Steemann 46565e4daf fix parallel insertion 2015-08-17 12:43:05 +02:00
Jan Steemann 171119ed01 hold write lock on databases less often 2015-08-17 12:43:04 +02:00
Willi Goesgens 021d01e4fe Rework index documentation; add more executed examples. 2015-08-04 18:42:44 +02:00
Jan Steemann e9f2c1eba8 references 2015-08-04 16:26:48 +02:00
Jan Steemann 1af98f40fb added reserve() 2015-08-04 16:23:21 +02:00
Jan Steemann b591706484 fixed locking 2015-08-04 15:42:39 +02:00
Jan Steemann a84e6f7236 fixed compile error 2015-08-04 14:34:00 +02:00
Jan Steemann a2d75cd9c8 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-04 14:32:42 +02:00
Jan Steemann 342e44c374 removed tabs 2015-08-04 14:32:37 +02:00
Max Neunhoeffer 5b4eeb4dae Silence a visual studio warning. 2015-08-04 14:29:59 +02:00
Jan Steemann c163d602ff updated documentation for `indexBuckets` 2015-08-04 14:13:01 +02:00
Jan Steemann f89af3f6f4 adjusted tests for indexBuckets 2015-08-04 14:02:04 +02:00
Willi Goesgens 8130368f43 Work on re-grouping the index documentation, using automated examples. 2015-08-04 13:44:25 +02:00
Jan Steemann 922c16dce1 fixed invocation of `LIKE` 2015-08-04 12:23:40 +02:00
Jan Steemann 857f0b8b35 next attempt to make it compile on MacOS 2015-08-04 11:38:38 +02:00
Jan Steemann 7a3d49be88 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-04 10:30:28 +02:00
Jan Steemann 5dab23a3b7 CXX implementation of AQL `LIKE` 2015-08-04 10:30:18 +02:00
Max Neunhoeffer 96d7b339b7 Use LOG_DEBUG instead of LOG_ERROR for Agency problems. 2015-08-04 09:42:06 +02:00
Max Neunhoeffer 4f2afbf7e3 Better debugging messages if agency communication goes wrong in ClusterInfo. 2015-08-04 09:32:57 +02:00
Jan Steemann 0f1ce26e41 added function to create an ICU RegexMatcher 2015-08-03 23:57:26 +02:00
Jan Steemann 38227a81f8 speed up initial edge index creation 2015-08-03 18:27:50 +02:00
Max Neunhoeffer e05d808ff8 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-08-03 15:23:38 +02:00