1
0
Fork 0
Commit Graph

16196 Commits

Author SHA1 Message Date
Willi Goesgens e87e79ea77 Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2 2014-09-08 15:07:25 +02:00
Willi Goesgens 6e1fbbddfc More userfriendly errormessages if creating the transaction fails. 2014-09-08 15:07:05 +02:00
Willi Goesgens 68d30cef8b Transaction: abort initialisation process on error so our internal error state stays sane. 2014-09-08 15:06:30 +02:00
Jan Steemann 3ea0c8ec28 remove pending dispatcher jobs on shutdown 2014-09-08 15:03:19 +02:00
Jan Steemann 6d83700478 disable spinlocks in debugging 2014-09-08 14:14:39 +02:00
Max Neunhoeffer b011876512 Another memleak and some exception-safety. 2014-09-08 13:55:58 +02:00
Jan Steemann 88454fbecc Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-08 12:05:45 +02:00
Jan Steemann 72cc344935 fixed buffer memleak 2014-09-08 12:05:28 +02:00
Max Neunhoeffer 82a403cda2 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2 2014-09-08 11:52:52 +02:00
Max Neunhoeffer bc54c047ba Fix another memleak. 2014-09-08 11:52:41 +02:00
Jan Steemann cf4deda835 fixed jsunity 2014-09-08 11:44:20 +02:00
Jan Steemann 557d37c688 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-08 11:43:54 +02:00
Jan Steemann 5c3b88b30c added test for optimizer rule 2014-09-08 11:43:39 +02:00
Willi Goesgens dd5ba978f1 Use better names for the optimiser control vars 2014-09-08 11:16:40 +02:00
Willi Goesgens 9473dc83cf Index Sort: add test which should remove duplicate sort. 2014-09-08 11:02:17 +02:00
Max Neunhoeffer dd48ba5d6d Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2 2014-09-08 11:01:22 +02:00
Max Neunhoeffer 06a525929c Fix a memleak with hash index lookup in AQL. 2014-09-08 11:01:03 +02:00
Jan Steemann 8fdb2f05af added positive list of nodetypes 2014-09-08 10:39:59 +02:00
Max Neunhoeffer 12ece0ee5d Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2 2014-09-08 10:35:33 +02:00
Jan Steemann 478007089a do not push sort beyond limit, collect etc. 2014-09-08 10:31:44 +02:00
Max Neunhoeffer 0651a8c0ca Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2 2014-09-08 10:30:55 +02:00
Max Neunhoeffer eb6fab36e8 Fix a leak in FilterBlock. 2014-09-08 10:29:48 +02:00
Willi Goesgens c02f304cc3 Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2 2014-09-08 09:48:33 +02:00
Willi Goesgens 31adea628c Add YAML Parser/Dumper 2014-09-08 09:48:05 +02:00
Jan Steemann 027fe0af9a fixed memleak 2014-09-08 09:47:48 +02:00
Willi Goesgens 84b0d4a35e Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2 2014-09-08 09:32:37 +02:00
Jan Steemann a0868577ca tried to diagnose logger races 2014-09-08 09:30:56 +02:00
Jan Steemann 7b3ee1e452 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-08 09:05:58 +02:00
Max Neunhoeffer b88bceda00 Fix memleaks. 2014-09-05 18:20:48 +02:00
Willi Goesgens 9524863c44 finalize test for the time being. 2014-09-05 15:02:16 +02:00
Willi Goesgens 02207d5f70 Cost estimates: IndexRangeNodes without range have to be more expensive than ones with. 2014-09-05 14:23:25 +02:00
Willi Goesgens 4b41b449f5 JSUnity: add stacktraces to failing assertions; this way you can get the line in your test better. 2014-09-05 11:49:05 +02:00
Max Neunhoeffer 63020e078e Prevent readline-history memleak. 2014-09-05 09:11:25 +02:00
Willi Goesgens ebbb9c34b6 Redundand-Sort: implement removing of left item superseeding the sort 2014-09-04 17:53:20 +02:00
Willi Goesgens 30b33a1793 Fix buffer overrun while comparing two sortNodes 2014-09-04 17:29:22 +02:00
Willi Goesgens 8cb1330cc2 Add optimizer tests for removing unneccessary calculations. 2014-09-04 16:57:53 +02:00
Willi Goesgens e23cbf1add Work on Filter to IndexRangeNode tests 2014-09-04 16:33:37 +02:00
Willi Goesgens 2943451c6c 'var' is a js keyword, rename it to variable. 2014-09-04 13:26:52 +02:00
Willi Goesgens 8f1123c8b9 Rangeinfo: fix handling of < and >; the handling of _undefined was wrong and we would never add these ranges. 2014-09-04 11:52:35 +02:00
Willi Goesgens fab66690eb Fix syntax. 2014-09-03 17:26:44 +02:00
Willi Goesgens 96186458b9 Use index for Sort: add more tests, more clever test data structures. 2014-09-03 17:15:49 +02:00
Willi Goesgens 49ff0423f0 Recurse into subqueries to dig for nodes; thus the test gets a flat representation. 2014-09-03 17:14:21 +02:00
Willi Goesgens ec67a07f9b Parser: when throwing parse exceptions add the query and a pointer to the actual indicated error to the message. 2014-09-03 16:13:35 +02:00
Willi Goesgens 8ec9525c05 SortIndex: move inspection of IndexRangeNode into functions. 2014-09-03 11:05:03 +02:00
Willi Goesgens 74784da12d Use function to search for whether there is a sortnode or not. 2014-09-03 10:40:37 +02:00
Willi Goesgens 61d1bfa76b SortIndex: only indicate we modified a rule if we realy did. 2014-09-03 09:47:08 +02:00
Willi Goesgens 135afc043c Try checking whether rules didn't apply because of non-match 2014-09-02 17:30:07 +02:00
Willi Goesgens 8ffdd01d5f Cleanup of tests
- use assertEqual
  - use centralized definitions for the various optimizer parameter permutations
2014-09-02 17:11:03 +02:00
Max Neunhoeffer 6f22f5529a Fix memory leak, AqlValues must be destroyed explicitly. 2014-09-02 15:19:21 +02:00
Max Neunhoeffer fb9481c208 Fix another memory leak. 2014-09-02 14:33:08 +02:00