[Bug 10651] Optimisation avoiding sorts (K2-OrderbyExprWithout-10 & K2-OrderbyExprWithout-40)

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10651

Benjamin Nguyen <benjie.nguyen@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Benjamin Nguyen <benjie.nguyen@gmail.com> 2010-10-18 11:16:34 UTC ---
Tests K2-OrderbyExprWithout-10 and K2-OrderbyExprWithout-40 have been modified
in the test suite. Test -10 is the same as the one proposed by Martin, and I
wrote -40 like this : 

for $a in (3, 2, 1)
let $a := ($a, 1),
$b := (2, 1),
$c := (2, 1),
$d:= (2, 1)
order by $a
return $a

I think that this fixes the bug.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 18 October 2010 11:16:38 UTC