Bugs item #1981827, was opened at 2008-06-02 10:21 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1981827&group_id=56967
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: PF/compiler Group: Pathfinder 0.24 Status: Open Resolution: None Priority: 6 Private: No Submitted By: Stefan Manegold (stmane) Assigned to: Jan Rittinger (tsheyar) Summary: PF/alg: if-then-else evaluation differs from MPS? Initial Comment: With the Algebra back-end, the if-then-else evaluation seems to differ from MPS. With MPS, only the qualifying branch is evaluated at runtime. With ALG, is seems as if both branches are "silently" eveluated, but only the qualifying branch's results (actions) are used/effective --- at least that's what the failure of test pathfinder/tests/BugTracker/Tests/replace-corrupts.SF-1758902.xq.in seems to suggest: with ALG, the first if-then-else seems to evaluate the then branch although $orig is empty (and hence exists($orig) is false), correctly causing the do replace to fail on the implicitly called fn:exactly-one(); cf. http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsG103/GNU.64.64.d-Fedora8/tests_BugTracker/replace-corrupts.SF-1758902.err.00.html http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsG103/GNU.64.64.d-Fedora8/tests_BugTracker/replace-corrupts.SF-1758902.out.00.html ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1981827&group_id=56967 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Monetdb-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-bugs
