Re: [Maria-developers] Window functions: compare_window_spec_joined_lists() has a bug

2016-04-04 Thread Igor Babaev
Sergey, I fixed the problem and pushed the fix. Regards, Igor. On 04/04/2016 01:15 PM, Sergey Petrunia wrote: > Hello Igor, > > I'm trying this example: > > create table t1 (a int, b int); > insert into t1 values (1,1),(2,2),(3,3); > > select rank() over (order by a), rank() over (order by

[Maria-developers] Window functions: compare_window_spec_joined_lists() has a bug

2016-04-04 Thread Sergey Petrunia
Hello Igor, I'm trying this example: create table t1 (a int, b int); insert into t1 values (1,1),(2,2),(3,3); select rank() over (order by a), rank() over (order by b) from t1; I put a breakpoint in order_window_funcs_by_window_specs(), at this call: int cmp=