Michael Hackstein
729847f1e7
Removed the old Json based AQL FunctionParameters. Also removed all Json-based wrappers around the new VelocyPack based AQL functions.
2016-03-06 11:49:53 +01:00
Jan Steemann
0c2fdb9fb9
less dependency on document-collection.h
2016-03-04 20:53:17 +01:00
Jan Steemann
6eea757c01
simplifications
2016-03-04 19:40:24 +01:00
Jan Steemann
05f98cbd72
fixed compile errors
2016-03-04 18:43:51 +01:00
Jan Steemann
c157363f3c
less dependencies
2016-03-04 17:21:09 +01:00
jsteemann
cf1427adff
smaller datafile markers
2016-03-04 02:25:03 +01:00
Jan Steemann
78f07c6a31
less json
2016-03-03 14:23:39 +01:00
jsteemann
60ac50e5c6
cppcheck
2016-03-02 22:09:32 +01:00
Jan Steemann
fa759ec787
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-03-02 17:51:12 +01:00
Jan Steemann
06da362f93
some json removal
2016-03-02 17:51:05 +01:00
Michael Hackstein
d95c4954a4
Removed shape from ExampleMatcher. Also TRI_json_t variant is non functional anymore. It is DEPRECATED and will be removed very very soon
2016-03-02 15:46:32 +01:00
Jan Steemann
b209accf29
removed json
2016-03-02 11:34:31 +01:00
Michael Hackstein
4e5f24a869
Removed unnacessary imports of shape
2016-03-02 10:45:00 +01:00
Michael Hackstein
65abe721f3
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
2016-03-01 16:39:04 +01:00
Michael Hackstein
7e30dab62f
CollectionScanner and EnumerateCollectionBlocks now use VPack instead of Shapes and mptrs.
2016-03-01 16:38:55 +01:00
Michael Hackstein
03dbc4a745
Added a dummy to insert External VPackSlice references in AqlItemBlock.
2016-03-01 16:36:02 +01:00
Jan Steemann
298c96f2cc
store information about datafile in upper bit
2016-03-01 16:29:09 +01:00
Jan Steemann
0cb0c0142f
remove _rid from master pointer
2016-03-01 15:06:54 +01:00
Jan Steemann
15350cf4b8
renamed and removed
2016-03-01 12:34:03 +01:00
Jan Steemann
102066b4ee
removed methods
2016-03-01 11:50:16 +01:00
Jan Steemann
254f6b49b9
write prologue markers for document & remove markers
2016-02-29 17:08:38 +01:00
jsteemann
951c608ee6
cleanup
2016-02-26 23:20:41 +01:00
jsteemann
99e7bcfe5e
removed debug macros
2016-02-26 23:15:20 +01:00
jsteemann
4845b3fc93
cleanup
2016-02-26 23:07:19 +01:00
Jan Steemann
bd9293802d
marker changes, unfinished
2016-02-26 19:39:17 +01:00
Michael Hackstein
7174a6225f
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
2016-02-26 13:32:10 +01:00
Michael Hackstein
ac173ca497
The Edge Index now indexes with VPackSlice instead of TRI_edge_header_t. Some functions that were using the Edge Index are disabled and will not work. These functions have to be modified to use the new Transaction API.
2016-02-26 13:31:10 +01:00
Jan Steemann
ebf2d1520b
removed TRI_doc_mptr_copy_t
2016-02-26 11:46:33 +01:00
Jan Steemann
693b31d032
remove _prev and _next from mptr
2016-02-26 11:23:01 +01:00
Jan Steemann
3e82064770
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-25 14:59:08 +01:00
Frank Celler
37a0a7fc05
Merge branch 'devel' of github.com:arangodb/arangodb into solaris
2016-02-25 10:56:14 +01:00
Jan Steemann
8f2e2de451
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-25 10:46:13 +01:00
jsteemann
1823ae4fd2
removed unused forwards and functions
2016-02-25 00:48:06 +01:00
jsteemann
74fa6cf207
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-25 00:02:03 +01:00
jsteemann
851d19a9d6
logging simplifications
2016-02-25 00:00:18 +01:00
Frank Celler
da7955e417
Merge branch 'devel' of github.com:arangodb/arangodb into solaris
2016-02-24 19:29:01 +01:00
Frank Celler
4b2b85f1b5
more cleanup
2016-02-24 19:19:04 +01:00
Jan Steemann
63d1d5339f
cppcheck
2016-02-24 17:55:36 +01:00
Jan Steemann
4bbccedf0d
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-24 17:46:40 +01:00
Jan Steemann
af367a3e13
fixed range optimizations
2016-02-24 17:43:17 +01:00
jsteemann
ee49f4f3f7
cppcheck
2016-02-23 21:33:59 +01:00
Frank Celler
d53b65a2f8
cleanup of OS defines
2016-02-23 15:27:34 +01:00
Jan Steemann
70d44f06fa
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-23 13:22:46 +01:00
Jan Steemann
eb202f528c
pass vocbase in TransactionContext
2016-02-23 13:03:30 +01:00
Frank Celler
e269b97517
cleanup of OS defines
2016-02-23 12:26:10 +01:00
Jan Steemann
f468cd00ad
create transaction context as shared ptr
2016-02-23 12:18:39 +01:00
Michael Hackstein
538650ce61
Removed obsolete define
2016-02-23 11:10:44 +01:00
Michael Hackstein
f61c16a248
Removed obsolete JSON implementations in Aql/Functions
2016-02-23 11:09:48 +01:00
Jan Steemann
ea3a7f3dab
removed cap constraints
2016-02-22 12:37:16 +01:00
Jan Steemann
4277f7a131
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-22 09:41:44 +01:00
Max Neunhoeffer
393ac7e753
Rename getCollectionId -> getCollectionIdLocal.
2016-02-19 23:26:17 +01:00
Jan Steemann
be42d61f2a
added derived file
2016-02-19 18:30:21 +01:00
Jan Steemann
bc6283fc91
added WITH collections declarative
2016-02-19 18:20:46 +01:00
Jan Steemann
8b8101fc59
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-19 11:44:06 +01:00
Jan Steemann
adde757e46
move v8 try-catch into handle scopes
2016-02-19 11:42:44 +01:00
Michael Hackstein
4d044d2732
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
2016-02-18 12:56:33 +01:00
Jan Steemann
d7963c651b
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-18 12:55:49 +01:00
Michael Hackstein
46d8b291c9
C++ Graph module now uses new Transcation API to get the graph definition
2016-02-18 12:51:08 +01:00
Jan Steemann
ba93854c59
check return value
2016-02-18 11:00:39 +01:00
Frank Celler
a5e804ab70
added cancel
2016-02-17 22:19:52 +01:00
Frank Celler
345712c36f
changed to new Thread interface
2016-02-17 22:19:37 +01:00
Jan Steemann
a3b0bb83d1
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-16 15:39:02 +01:00
Michael Hackstein
b93e56031b
Fixed handling of Null Bytes in AqlValue for VPack.
2016-02-16 13:54:02 +01:00
Michael Hackstein
85b38d09b9
Fixed double free bug in cluster case
2016-02-16 11:34:26 +01:00
Michael Hackstein
116f8a822c
Fixed typos in Attribute Names for toVelocyPack.
2016-02-16 11:15:53 +01:00
Michael Hackstein
f32750e1ac
Removed obsolete toJson from AQL Nodes
2016-02-16 10:29:38 +01:00
Michael Hackstein
f767636f14
Added a toVelocyPack serialisation to all Aql Nodes and their dependencies. Right now in parallel to toJson.
2016-02-16 00:04:32 +01:00
Jan Steemann
313f27deed
renamed methods
2016-02-15 18:18:03 +01:00
Michael Hackstein
bb264d89f8
Removed VPackSlice const from std::containers. It is against the standard and compiles somehow with clang but not with g++4.9
2016-02-15 11:21:40 +01:00
Michael Hackstein
2c6c31004c
Silenced parentheses warning
2016-02-15 10:53:35 +01:00
Michael Hackstein
835e077836
Fixed a linux compile bug with default parameters. Now they have no defaults any more.
2016-02-15 10:51:12 +01:00
Michael Hackstein
a3cd1aa54e
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-02-15 10:25:31 +01:00
Michael Hackstein
c8e0d417ba
Added VPack Variant for IS_SAME_COLLECTION. This was the function without a VelocyPack variant. AQL Functions are now ready to be switched.
2016-02-13 14:46:32 +01:00
Michael Hackstein
a52e70c3f5
Added a VPack Variant for AQL FULLTEXT function
2016-02-13 14:40:10 +01:00
Michael Hackstein
bfddd69a03
Added a velocypack variant of POSITION and RANGE.
2016-02-13 14:30:43 +01:00
Michael Hackstein
521be3c08e
Added VPack variant of PERCENTILE and MEDIAN
2016-02-13 14:15:09 +01:00
Michael Hackstein
0688392364
Added a velocypack variant of stdDev and variance to AQL
2016-02-13 14:00:40 +01:00
Michael Hackstein
8cbac0258a
Added VPack implementation for NotNull, CurrentDatabase and CollectionCount
2016-02-13 13:48:34 +01:00
Jan Steemann
b8849daa50
fix invalid fix
2016-02-12 10:41:09 +01:00
Jan Steemann
797fff14c2
fixed issue #1722
2016-02-12 09:45:32 +01:00
jsteemann
bee34da616
make replace-or-with-in rule fire in more cases
2016-02-10 23:07:24 +01:00
Michael Hackstein
30547cb696
Further implementation if list functions in VPack variant. Also fixed a bug in FIRST
2016-02-10 21:56:09 +01:00
Michael Hackstein
a3cccc14cf
Added implementation for VPack variant of POP and APPEND
2016-02-10 18:55:28 +01:00
Michael Hackstein
acbc7cdad2
Added more VPackStyle functions: firstDocument firstArray push.
2016-02-10 18:14:13 +01:00
Jan Steemann
f50ddf030b
fix collapsing of conditions
2016-02-10 12:58:58 +01:00
Jan Steemann
f3107bc25f
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-operators
2016-02-10 11:34:40 +01:00
Jan Steemann
5ba2432d78
remove sort in more cases
2016-02-10 11:23:11 +01:00
Michael Hackstein
7976903c43
Added VPack implementations for Math functions.
2016-02-09 16:51:04 +01:00
Jan Steemann
0d4d5f5f93
fixed stringification of query states
2016-02-08 17:06:28 +01:00
Jan Steemann
e6ff2a5100
disable copy construction
2016-02-08 16:14:22 +01:00
Jan Steemann
b7941f3142
added assertions
2016-02-08 09:57:11 +01:00
jsteemann
0c39095037
pass Json by const reference
2016-02-07 10:07:34 +01:00
jsteemann
a02e2b563f
fixed issue #1707 : 2.8.1 crashes
...
the crash was due to a required variable being removed from the execution plan.
this happened when there were multiple execution plans, and a certain transformation
was made in one of them. the transformation modified an element that was shared by
all plans, but it should have made a copy so only the current plan is affected
2016-02-07 00:23:34 +01:00
jsteemann
6acd2e83b6
report an error when "the impossible" (tm) happens
2016-02-07 00:23:11 +01:00
jsteemann
a5c23fe0fe
fix parsing forward ticks, fix line numbers in some error messages
2016-02-06 12:32:14 +01:00
jsteemann
f28fb0c198
allow enclosing identifiers in forward ticks, too
2016-02-06 01:48:33 +01:00
Michael Hackstein
f5d93fb872
Implemented AQL EDGES as a VPack Variant.
2016-02-05 16:18:21 +01:00
Michael Hackstein
dcd275181f
Added VPack Variant of DOCUMENT()
2016-02-05 14:37:33 +01:00
Michael Hackstein
17abd440aa
Further implementation of AQL Functions VPack variants.
2016-02-05 13:55:18 +01:00
Michael Hackstein
ba9d3566e9
Implemented Geo Functions in VPack variant. Also simplified the code.
2016-02-05 10:22:15 +01:00
Michael Hackstein
96b75d3733
Added a VPack Implementation for AQL Neighbors. This involved modification of Traverser and ExampleMather to understand VPack as well
2016-02-05 08:45:20 +01:00
Jan Steemann
94990da5f9
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-operators
2016-02-04 19:18:43 +01:00
Jan Steemann
a71f65f873
potential fix
2016-02-04 18:05:48 +01:00
Michael Hackstein
edf7f6b9d9
Further implementation of AQL functions for VPack. UNIQUE UNIQUE_SORTED UNION UNION_DISTINCT
2016-02-04 15:23:26 +01:00
Wilfried Goesgens
acc17daa96
Merge branch 'devel-solaris' of https://github.com/doublerebel/arangodb into doublerebel-devel-solaris
...
Fix Conflicts:
arangod/FulltextIndex/fulltext-index.cpp
lib/Basics/logging.cpp
2016-02-04 15:11:34 +01:00
Michael Hackstein
84b1f9055d
Further implementation of VPackAqlValue functions. This included VALUES and ATTRIBUTES. These functions by accident had an ordering in TRI_json_t which they do not have any more in VelocyPack. Clarified Documentation.
2016-02-04 13:49:59 +01:00
Jan Steemann
3269c59a06
fixed some compile warnings
2016-02-04 12:38:51 +01:00
Frank Celler
bb3acf8cd5
fixed /_admin/log
2016-02-04 00:41:50 +01:00
Michael Hackstein
14c33024c4
Added more functions for VelocyPack variabt of AqlValue
2016-02-03 14:51:17 +01:00
Michael Hackstein
cff759183a
Rearranged VPack-AQL-Functions. Preperation for removal of old Functions
2016-02-03 10:53:15 +01:00
Michael Hackstein
6315ec26a5
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-02-03 10:48:27 +01:00
Michael Hackstein
f478411bb8
Included a backward transformation AqlValueVPack -> AqlValueJson. This allows to use the new VPack Functions without modification after switch. They return AqlValueVPack.
2016-02-03 10:48:08 +01:00
Michael Hackstein
6eeb686287
Added dummy to collect a shared VPackBuilder from a query object. Has to be properly implemented as soon as VelocyPack is the default AqlValue format
2016-02-03 10:40:51 +01:00
jsteemann
13335d4cf9
bugfixes
2016-02-03 01:06:27 +01:00
jsteemann
095b60ed7f
added missing files
2016-02-03 00:28:54 +01:00
jsteemann
60d9364e1f
added derived files
2016-02-03 00:28:29 +01:00
jsteemann
b962c5a9e8
array comparison operators
2016-02-03 00:28:03 +01:00
Jan Steemann
fc909486c2
parser adjustments for array operators, not yet working
2016-02-02 18:05:39 +01:00
Michael Hackstein
92c69d2039
Implemented To_Array for VPack
2016-02-02 15:37:05 +01:00
Michael Hackstein
fd7d7e0c5a
Started implementing some Cxx AQL functions to use VPack AqlValues. Right now there is a compile-time switch to enable/disable VPack as it now adds overhead
2016-02-02 14:57:48 +01:00
Jan Steemann
bc6fce75d4
removed some unnecessary explicits
2016-02-02 12:13:21 +01:00
Jan Steemann
45d9745756
fixed display of Traversals in AQL explain
2016-02-02 11:24:51 +01:00
Michael Hackstein
93d0508259
Created a temporary type for VPack-based AqlValues. Also started implementing new AQL Functions with this new AqlValue.
2016-02-01 17:09:54 +01:00
Jan Steemann
b7abf5a40d
attempt to fix Windows build
2016-02-01 12:04:28 +01:00
Michael Hackstein
8fad43282d
Asserted the length of the traversal condition.
2016-02-01 11:36:08 +01:00
Michael Hackstein
4e139f1865
Added an additional nullptr check.
2016-02-01 11:17:06 +01:00
jsteemann
349a6d9754
more logging
2016-01-31 21:48:59 +01:00
jsteemann
b635983d9c
removed unused functions and headers
2016-01-31 19:08:39 +01:00
jsteemann
ae25d2b53b
removed `using namespace std`
2016-01-31 18:22:00 +01:00
jsteemann
13481bbebc
fix or annotate problems identified by clang-check
2016-01-31 03:32:31 +01:00
jsteemann
2d7323a560
fixed warnings shown by clang-3.7
2016-01-31 02:17:36 +01:00
jsteemann
353c9732b7
removed last LOG_xxx macros
2016-01-30 04:03:18 +01:00
jsteemann
ff21453255
logger transition: all files in arangod exception transactions.cpp
2016-01-29 23:28:44 +01:00
Jan Steemann
828f46c76b
shut up compiler
2016-01-29 19:19:06 +01:00
Jan Steemann
cd4cbae6ce
ported fixes to devel
2016-01-29 19:05:27 +01:00
Michael Hackstein
e0f0a6f1a8
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-29 14:18:05 +01:00
Max Neunhoeffer
09f974d660
Fix a merge.
2016-01-29 14:10:35 +01:00
Michael Hackstein
436c377cb5
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-29 14:01:53 +01:00
Max Neunhoeffer
238937128a
Merge branch 'devel' into ClustUp2
2016-01-29 13:59:11 +01:00
Michael Hackstein
0b583d756a
Duplicated static helper functions in AQLFunctions to be able to hadle VPack. Added a dummy for AqlValue->VPack. We have to clarify the data responsibilites before continuing here.
2016-01-29 13:42:15 +01:00
jsteemann
c3fc7e1aa7
don't lock in destructor
...
we have a global instance of the query cache and its destruction is
called during static deinitialization after main. if we use locks in
the dtor then we will use locks during static deinitialization (which
is fine in general, but prevents us from tracking the lock usage by
threads using thread-local storage)
2016-01-29 01:12:59 +01:00
jsteemann
04d459a5db
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-01-29 00:51:14 +01:00
jsteemann
1ca11411fd
added (still disabled) optimizer rule `inline-subqueries`
2016-01-29 00:50:37 +01:00
jsteemann
df68e95e06
some useful methods
2016-01-29 00:09:55 +01:00
Michael Hackstein
651e705ebd
Introduced a new EMPTY_GRAPH error which is thrown during AQL execitions whenever the graph has no edge collections.
2016-01-28 18:07:26 +01:00
Michael Hackstein
0a421a1cc0
Finished implementation for multi-direction traversals.
2016-01-28 15:43:19 +01:00
Michael Hackstein
582f1f46f0
Preparation for multi-direction traversals. As requested in #1683 . Internal traverser can now work with one direction per collection. Next: AQL needs to learn this too.
2016-01-28 14:07:50 +01:00
Jan Steemann
2b57652880
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-01-27 19:29:13 +01:00
Jan Steemann
de52abbf83
added AQL function `IS_SAME_COLLECTION`
2016-01-27 19:29:01 +01:00
Wilfried Goesgens
e1a8726606
Don't optimize the traverser if there are functions on the traversal attribute side; this fixes #1684
2016-01-27 19:21:17 +01:00
Jan Steemann
37a083edca
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-01-27 18:53:29 +01:00
Jan Steemann
585208afcf
changed directory name pattern for collections
2016-01-27 18:53:16 +01:00
Frank Celler
175e1e6b51
moved low level mutex in Mutex class
2016-01-27 15:31:02 +01:00
Jan Steemann
9046e1831b
clang-format
2016-01-27 13:43:46 +01:00
Jan Steemann
3d8a52cdf4
some refactoring
2016-01-27 13:28:19 +01:00
Max Neunhoeffer
887e571a26
Merge branch 'devel' into ClustUp2
2016-01-26 18:01:42 +01:00
Jan Steemann
ad31aea8b9
TRI_datafile_t
2016-01-26 17:56:10 +01:00
Jan Steemann
3fc862f0ef
changed locking macros
2016-01-26 15:39:12 +01:00
Charles Phillips
a846405545
fix,solaris: call of overloaded 'log(size_t&)' is ambiguous
...
return depCost + nrItems * log(nrItems);
^
arangod/Aql/SortNode.cpp:196:41: note: candidates are:
In file included from /opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.3/include-fixed/math.h:47:0,
from ./lib/Basics/Common.h:62,
from arangod/Aql/SortNode.h:27,
from arangod/Aql/SortNode.cpp:24:
/opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.3/include-fixed/iso/math_iso.h:221:21: note: long double std::log(long double)
inline long double log(long double __X) { return __logl(__X); }
^
/opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.3/include-fixed/iso/math_iso.h:189:15: note: float std::log(float)
inline float log(float __X) { return __logf(__X); }
^
/opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.3/include-fixed/iso/math_iso.h:89:15: note: double std::log(double)
extern double log __P((double));
^
2016-01-25 23:29:05 -08:00
Jan Steemann
3dc247e18b
fixed segfault
2016-01-25 14:20:06 +01:00
Jan Steemann
7800085a9b
unified behavior of `RANGE` function
2016-01-25 14:19:49 +01:00
Michael Hackstein
a6f58ce14d
Use forward declarations for VelocyPack instead of all includes everywhere
2016-01-24 14:29:31 +01:00
Michael Hackstein
d37cea7644
Replaced TRI_json_t in HashIndex by VelocyPack
2016-01-24 11:17:51 +01:00
Michael Hackstein
e39a43ef43
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-24 10:38:48 +01:00
Frank Celler
764a95ea2a
switch to testing.js, moved testing.js to client
2016-01-23 21:07:42 +01:00
jsteemann
9ba3b68109
cppcheck
2016-01-23 16:22:39 +01:00
Michael Hackstein
b31cc0ba15
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-22 13:36:47 +01:00
Jan Steemann
9beeb09f37
fix out-of-memory situations
2016-01-22 13:24:33 +01:00
Michael Hackstein
7ef829ae63
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-22 13:16:39 +01:00
Jan Steemann
6b19a7b0a7
fixes ported from 2.8
2016-01-21 16:40:31 +01:00
Michael Hackstein
191c2dc3a9
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-21 16:29:38 +01:00
Jan Steemann
25abd4f717
fixes for Visual Studio
2016-01-21 09:46:26 +01:00
Michael Hackstein
bc40bcfdfc
Added a wraper function for AstNodes to export VPack instead of TRI_json_t
2016-01-21 07:52:49 +01:00
jsteemann
842384016d
namespace cleanup
2016-01-21 00:20:22 +01:00
jsteemann
ef67a496e6
more checks & asserts, C API cleanup
2016-01-20 22:08:11 +01:00
Michael Hackstein
1178d42004
Removed TRI_json_t from Index Constructors and replaced it by VelocyPack. SingleServerTests pass. Some clister tests fail
2016-01-20 16:19:24 +01:00
Frank Celler
ff11db7b78
added threadNumber to identify a thread
2016-01-19 13:57:30 +01:00
jsteemann
29cec1e86c
removed outdated TODO comment
2016-01-18 22:06:43 +01:00
Wilfried Goesgens
c34d74933b
Replace namespace in grammer.y too.
2016-01-18 17:19:38 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
jsteemann
03c4a4fb23
renamed optimizer rule for collect optimization
2016-01-17 00:07:13 +01:00
jsteemann
2b8cf7da62
speed up LENGTH() aggregation a bit
2016-01-16 23:53:11 +01:00
jsteemann
10d84ae525
simplification of COLLECT variants
2016-01-16 22:46:05 +01:00
jsteemann
4abf96e1db
removed special case for COLLECT INTO var = expr
2016-01-16 20:20:44 +01:00
Jan Steemann
7b4bf30c38
fixed differing behavior in NEIGHBORS() implementations
2016-01-15 10:22:23 +01:00
jsteemann
1b959c827d
more const unification
2016-01-15 00:09:52 +01:00
jsteemann
4a1c10d46c
cppcheck
2016-01-14 23:45:59 +01:00
jsteemann
2ae325fd4e
removed some of those "using namespace" directives
2016-01-14 23:21:39 +01:00
Jan Steemann
c577b8616e
allow killing of Collect operations
2016-01-13 13:47:46 +01:00
Wilfried Goesgens
0765ef7b45
Mark internal apis in their documentation.
2016-01-13 12:51:43 +01:00
Jan Steemann
985c51cf72
fixed undefined behavior
2016-01-13 11:17:08 +01:00
jsteemann
59a8cd13dc
more aggregate functions
2016-01-13 01:36:50 +01:00
Jan Steemann
fd7a03980e
renamed
2016-01-12 19:25:05 +01:00
Jan Steemann
a08be0f0ff
removed included iostream header
2016-01-12 18:30:57 +01:00
Jan Steemann
7524c21f3a
added derived files
2016-01-12 17:45:05 +01:00
Jan Steemann
6937dbc489
aggregate fixes
2016-01-12 17:21:18 +01:00
Jan Steemann
a3bd1c57c9
added derived files
2016-01-12 13:28:20 +01:00
Jan Steemann
2044cf8038
implemented aggregations for SortedCollectBlock
2016-01-12 12:05:57 +01:00
Jan Steemann
88d49eaef1
fixed segfault
2016-01-12 10:49:43 +01:00
jsteemann
e4992ff37a
fixed leak
2016-01-12 00:08:58 +01:00
jsteemann
9a2d9924b9
some bugfixes for aggregators
2016-01-11 23:53:03 +01:00
Jan Steemann
9ee2646b53
aggregators ready for hash-collect
2016-01-11 19:24:53 +01:00
Max Neunhoeffer
b0283077db
Merge branch 'devel' into ClustUp2
2016-01-11 11:41:36 +01:00
Max Neunhoeffer
dd364a9d20
Fix merge.
2016-01-11 11:38:10 +01:00
Max Neunhoeffer
e7eae3a73a
Merge branch 'devel' into ClustUp2
2016-01-11 11:01:45 +01:00
Jan Steemann
687d6133f0
comments reformatting
2016-01-11 09:52:39 +01:00
Jan Steemann
3c69cbd40a
proper nesting
2016-01-08 18:14:07 +01:00
jsteemann
64c5b21074
cppcheck
2016-01-08 01:17:44 +01:00
jsteemann
9f0576c65f
don't rely so much on namespace std being present
2016-01-08 01:05:06 +01:00
jsteemann
50c0e18d53
removed useless con|destructor comments
2016-01-07 21:19:53 +01:00
Jan Steemann
1e6a07426c
collect refactoring
2016-01-07 14:10:32 +01:00
Jan Steemann
ad1163e3bb
refactoring for Aql COLLECT
2016-01-07 13:35:12 +01:00
Jan Steemann
3ad20c0cae
auto-generated headers
2016-01-06 18:41:51 +01:00
Jan Steemann
a3b026d9d1
removed useless sections from code, unified include guards
2016-01-06 14:15:22 +01:00
Jan Steemann
bdc51bca80
fix potential crash
2016-01-06 12:14:15 +01:00
Jan Steemann
f422576ee0
clang-format
2016-01-05 17:43:24 +01:00
Frank Celler
6fbe632d08
fixed comparison
2016-01-05 12:36:53 +01:00
jsteemann
a6cb463e06
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2016-01-05 00:25:10 +01:00
Jan Steemann
c7f44b5f63
reserved AQL keyword `NONE`
2016-01-04 19:34:37 +01:00
Frank Celler
1065a1bd2c
added work monitor
2016-01-04 15:33:06 +01:00
jsteemann
c20cf66e93
add cacheability info for explain
2016-01-03 00:52:36 +01:00
Max Neunhoeffer
fa17c1ac22
Add reporting about query state. Needed for synchronous replication.
2015-12-30 16:52:47 +01:00
Jan Steemann
f1ed7cdf46
fixed memleaks that occurred during failure testing only
2015-12-23 20:59:04 +01:00
Jan Steemann
6bc0f491a2
fixed Visual Studio warning
2015-12-23 15:33:02 +01:00
Max Neunhoeffer
394057fbda
Merge branch 'devel' into vpack
2015-12-23 15:09:20 +01:00
Max Neunhoeffer
44334d90eb
Remove a TODO.
2015-12-23 15:07:35 +01:00
Max Neunhoeffer
169d6b74e2
Adjust TODOs.
2015-12-23 15:07:01 +01:00
Max Neunhoeffer
b10fafa501
Remove unused code.
2015-12-23 15:06:41 +01:00
Max Neunhoeffer
c7f00bfeda
Continue work on TODOs.
2015-12-23 14:40:04 +01:00
Jan Steemann
e62ccf7a46
added Ditches for traversal
2015-12-23 11:43:24 +01:00
Max Neunhoeffer
3996d2e6a2
Merge branch 'devel' into vpack
2015-12-23 08:35:59 +01:00
jsteemann
50947dfae3
apply "sort-in-values" optimization for certain subqueries too
2015-12-23 00:44:47 +01:00
jsteemann
3d6582ed52
micro optimizations
2015-12-22 21:58:20 +01:00
jsteemann
3bcc5cd193
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-22 20:34:55 +01:00
jsteemann
75e815896d
allow cancelation of traversal queries
2015-12-22 20:26:00 +01:00
Jan Steemann
5aebcbd91d
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-22 18:05:35 +01:00
Jan Steemann
6e3878ec94
changed behavior of [*] operator, added COLLECTION_COUNT internal function
2015-12-22 18:03:59 +01:00
Max Neunhoeffer
225c8cd843
Work on TODOs.
2015-12-22 16:50:09 +01:00
Max Neunhoeffer
5f3a1fbdb2
Merge branch 'devel' into vpack
2015-12-22 14:18:34 +01:00
Jan Steemann
dac697d24b
removed some leftover iostream includes
2015-12-21 18:20:43 +01:00
Max Neunhoeffer
61dd94bc27
Merge branch 'devel' into vpack
2015-12-21 16:06:45 +01:00
Max Neunhoeffer
ade47c06dc
Fix isSorted bug in cluster.
2015-12-21 16:06:04 +01:00
Max Neunhoeffer
61fe51072c
Merge branch 'devel' into vpack
2015-12-21 15:22:46 +01:00
Max Neunhoeffer
e8e6dc8597
More VPackObjectBuilder usages.
2015-12-21 15:22:19 +01:00
Max Neunhoeffer
8ce0a484e1
Fix graph traversal tests, behaviour and documentation.
2015-12-21 15:20:56 +01:00
Max Neunhoeffer
9d303b69d7
Merge branch 'devel' into vpack
2015-12-21 09:47:42 +01:00
jsteemann
a41f65b0ca
optimizer simplifications
2015-12-21 01:43:16 +01:00
jsteemann
50818d9c80
simplifications
2015-12-18 23:54:14 +01:00
jsteemann
19782a45a6
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-18 23:33:44 +01:00
Jan Steemann
36eac6ffd0
fixed index selection in some queries
2015-12-18 20:16:09 +01:00
Michael Hackstein
642a6261f2
Added a proper selectivity estimate for traversal nodes.
2015-12-18 18:02:13 +01:00
Michael Hackstein
c00d0cbc4d
Improved stability of AQL Traverser. Also added checks for illegal edge cases
2015-12-18 16:17:09 +01:00
Jan Steemann
8053911c39
tests for issue #1583
2015-12-18 12:15:52 +01:00
Jan Steemann
1faaaa0632
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-17 14:41:24 +01:00
Wilfried Goesgens
e908be8cd4
fix style
2015-12-17 13:39:05 +01:00
Jan Steemann
ad45a4b254
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-17 12:31:14 +01:00
Jan Steemann
b76c61adb1
\0 fix
2015-12-17 12:28:16 +01:00
Jan Steemann
2b3f3f997b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-17 10:59:30 +01:00
jsteemann
ead2ee47e7
issue #1409 : fix NUL-byte handling
2015-12-17 10:54:24 +01:00
Michael Hackstein
82eea28fea
Merge branch 'vpack' of github.com:arangodb/arangodb into vpack
2015-12-16 19:03:15 +01:00
Wilfried Goesgens
1914fefc48
remove unused code path
2015-12-16 17:31:04 +01:00
Wilfried Goesgens
9d1f861736
Fix memory management of traverser expression.
2015-12-16 17:07:17 +01:00
Jan Steemann
8e18d6463f
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-12-16 11:44:56 +01:00
Michael Hackstein
5e4efc7267
Updated AQL to class verison of TRI_col_info_t
2015-12-16 11:38:33 +01:00
Jan Steemann
a694b7ef48
make_unique
2015-12-16 11:36:35 +01:00
Wilfried Goesgens
da57d31488
Implement de/serializing of filters in traversalnodes
2015-12-16 11:17:38 +01:00
Max Neunhoeffer
b337d9bd29
Fix shared_ptr<CONTAINER> direct-use in for bug.
2015-12-16 10:29:23 +01:00
Max Neunhoeffer
0198b4576b
Merge branch 'devel' into ClustUp1
2015-12-15 20:40:52 +01:00
jsteemann
8003ea7d74
fixed undefined variable warning
2015-12-15 20:12:50 +01:00
Max Neunhoeffer
4451e491ec
Merge branch 'devel' into ClustUp1
2015-12-15 17:46:34 +01:00
Michael Hackstein
5e332fa4b5
Adapted CXX function AQL EDGES to work with documents / Arrays as well. Similar to the old JS version
2015-12-15 16:38:45 +01:00
Michael Hackstein
cd7b249e07
Fixed Cxx implementation of EDGES to be able to handle Edges
2015-12-15 16:38:03 +01:00
Jan Steemann
ad8381ad6a
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-15 16:37:33 +01:00
Alan Plum
8853ede355
org/arangodb -> @arangodb
2015-12-15 15:51:44 +01:00
Jan Steemann
223c44d572
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-15 12:02:47 +01:00
Max Neunhoeffer
8a69ca5367
Merge branch 'devel' into ClustUp1
2015-12-15 09:23:51 +01:00
Wilfried Goesgens
f51e5efb34
Implement tests for de/serializing of TraversalNodes.
2015-12-14 18:07:04 +01:00
Max Neunhoeffer
525e54d5a0
Merge branch 'devel' into ClustUp1
2015-12-14 11:26:10 +01:00
Max Neunhoeffer
7641feeb88
Fix ClusterComm library w.r.t. pointers.
2015-12-14 11:22:30 +01:00
jsteemann
db746389f8
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-14 00:12:36 +01:00
jsteemann
51c267cd2a
dont optimize in certain cases when its useless
2015-12-14 00:12:14 +01:00
jsteemann
fd29ccdbc5
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-13 23:37:22 +01:00
jsteemann
600c48375d
added optimizer rule `sort-in-values`
2015-12-13 23:33:44 +01:00
Max Neunhoeffer
af4d729284
The ClusterComm C++11 revolution.
2015-12-11 23:26:10 +01:00
Jan Steemann
43eff8f0e9
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-11 16:33:35 +01:00
Jan Steemann
5ae891ac20
fix for issue #1603
2015-12-11 16:24:33 +01:00
Jan Steemann
2bdbb13e2c
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-11 14:13:36 +01:00
Max Neunhoeffer
95b311f802
Merge branch 'devel' into ClustUp1
2015-12-11 13:33:33 +01:00
jsteemann
18e47457a6
fixes
2015-12-11 13:29:18 +01:00
Max Neunhoeffer
c11ec07564
Merge branch 'devel' into ClustUp1
2015-12-11 13:28:07 +01:00
Wilfried Goesgens
8c1d6efaaf
Improve error message
2015-12-11 13:02:23 +01:00
Michael Hackstein
1af985003d
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2015-12-10 10:26:14 +01:00
Max Neunhoeffer
ea72850aeb
Fix bug in client tests.
2015-12-09 23:13:26 +01:00
Michael Hackstein
b8a9efbe33
Fixed a Illeagal memory access in BindParameters StripCollectionNames
2015-12-09 18:08:41 +01:00
Max Neunhoeffer
7a91accb71
Merge branch 'devel' into ClustUp1
2015-12-09 15:19:11 +01:00
Jan Steemann
98a5badb08
cppcheck
2015-12-09 14:49:44 +01:00
Max Neunhoeffer
7931be71a0
Merge branch 'devel' into ClustUp1
2015-12-09 12:45:07 +01:00
Michael Hackstein
f6e24e41e7
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2015-12-09 12:41:57 +01:00
Jan Steemann
37c032c694
fixed invalid read
2015-12-09 12:05:38 +01:00
Michael Hackstein
757577de42
Updated VPack addObject to openObject
2015-12-09 11:28:54 +01:00