← Back to team overview

zorba-coders team mailing list archive

[Bug 866138] Re: Try-Catch and Lazy-Evaluation: trycatch_doc_example_06.xq

 

** Changed in: zorba
   Importance: High => Medium

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/866138

Title:
  Try-Catch and Lazy-Evaluation: trycatch_doc_example_06.xq

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Query trycatch_doc_example_06.xq does not run if the lazy evaluation
  of TempSequences for the LET is turned on.

  The reason is, that for Try-Catch all variables have to be evaluated
  right before the return-clause. Therefore the compiler needs to set
  the flag eager-materialize to the LET-Clause.

  To reproduce the error, switch the Lazy-Temp-Sequence in the store on
  (line 798 in simple_store.cpp)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866138/+subscriptions