1
0
Fork 0
Commit Graph

25 Commits

Author SHA1 Message Date
Jan Steemann 3744e8dde9 issue #796: Searching with newline chars broken? 2014-04-22 13:38:06 +02:00
Jan Steemann ba8e38d6e5 bugfix for AQL query optimiser
the following type of query was too eagerly optimised, leading to errors in code-generation:

   LET a = (FOR i IN [] RETURN i) LET b = (FOR i IN [] RETURN i) RETURN 1

the problem occurred when both lists in the subqueries were empty. In this case invalid code
was generated and the query couldn't be executed.
2014-04-08 23:26:55 +02:00
Jan Steemann e1a190a51d fixed segfault during test on Windows 2014-03-04 16:58:22 +01:00
Jan Steemann d0961244c6 added range support for AQL 2013-07-19 18:38:13 +02:00
Jan Steemann 7dcfae65a7 added tests for multi-let 2013-07-18 12:08:27 +02:00
Jan Steemann e359dc29dd INCOMPATIBLE CHANGE: changed AQL user function namespace resolution operator from `:` to `::`
AQL user-defined functions were introduced in ArangoDB 1.3, and the namespace resolution
operator for them was the single colon (`:`). A function call looked like this:

    RETURN mygroup:myfunc()

The single colon caused an ambiguity in the AQL grammar, making it indistinguishable from
named attributes or the ternary operator in some cases, e.g.

    { mygroup:myfunc ? mygroup:myfunc }

The change of the namespace resolution operator from `:` to `::` fixes this ambiguity.

Existing user functions in the database will be automatically fixed when starting ArangoDB
1.4 with the `--upgrade` option. However, queries using user-defined functions need to be
adjusted on the client side to use the new operator.
2013-07-18 12:02:28 +02:00
Jan Steemann 72349558c1 centralised AQL tests 2013-07-18 00:17:39 +02:00
Jan Steemann a0c5d1f7b4 simplify AQL query calls 2013-07-17 21:22:24 +02:00
Jan Steemann 54b0552dee use a stable sort in COLLECT 2013-06-06 16:56:39 +02:00
Frank Celler 828b939053 fixed isolates, made ArangoError internal 2013-04-10 21:22:09 +02:00
Jan Steemann 71459b680f issue #426 2013-02-22 23:26:52 +01:00
Jan Steemann f00bf9c8d2 be more strict with numeric limits 2013-02-13 12:08:59 +01:00
Jan Steemann 8989bc398c added more test cases for over/underflow 2013-01-30 20:58:40 +01:00
Jan Steemann 9773a88cf9 prevent endless loops for inf double values being appended to string buffer 2013-01-29 12:07:30 +01:00
Jan Steemann b7cec5dc22 added test case for naming 2013-01-29 11:19:19 +01:00
Jan Steemann 234f2ecaaa simplify list access in AQL 2013-01-29 09:15:14 +01:00
Jan Steemann 909e46c671 moved global AQL functions to internal module 2013-01-25 09:34:51 +01:00
Jan Steemann 752b9a4846 fixed tests 2013-01-18 03:45:24 +01:00
Jan Steemann e28d9b9a93 issue #327: fixed javascript parse errors 2012-12-27 18:05:02 +01:00
Jan Steemann e3a075057f reference accesses can now use indexes 2012-06-13 12:07:29 +02:00
Jan Steemann d84193bce7 explain & optimizer 2012-06-11 17:55:09 +02:00
Jan Steemann 4d8e005241 more test cases 2012-05-19 01:41:11 +02:00
Frank Celler 763e7aba98 renamed to Arango 2012-05-12 14:40:34 +02:00
Jan Steemann 61db7ee3e8 more tests 2012-05-11 17:05:33 +02:00
Jan Steemann bc25a251f7 added more test cases, fixed some query edge cases 2012-05-11 16:47:02 +02:00