#165 "at" variables not working

v7.7
closed
Michael Kay
5
2012-10-08
2003-10-29
Michael Kay
No

When "at" variables are used in an XQuery FLWR
expression, incorrect optimization occurs.
Subexpressions that depend on the "at" variable can be
moved out of the "for" loop, producing arbitrary
incorrect results.

Source code fixed, problem is demonstrated by use case
xmp/addq1.

Discussion

  • Michael Kay
    Michael Kay
    2003-11-13

    Logged In: YES
    user_id=251681

    Fixed in 7.8