Try-Catch and Lazy-Evaluation: trycatch_doc_example_06.xq
Bug #866138 reported by
Tim Kraska
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
New
|
Medium
|
Markos Zaharioudakis |
Bug Description
Query trycatch_
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)
Changed in zorba: | |
assignee: | Markos Zaharioudakis (markos-za) → Sorin Marian Nasoi (sorin.marian.nasoi) |
assignee: | Sorin Marian Nasoi (sorin.marian.nasoi) → Markos Zaharioudakis (markos-za) |
Changed in zorba: | |
importance: | High → Medium |
tags: | removed: v1.2 |
To post a comment you must log in.
Markos, Matthias,
this bug should not be postponed. This made sense a year and a half earlier,
but I think we should solve it now for 2.0.