Show
Ignore:
Timestamp:
06/02/08 02:15:39 (18 months ago)
Author:
fumiakiy
Message:

Group_by methods now returns an iterator that can be finished early. BugId:79888

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-39/t/driver-tests.pl

    r2286 r2475  
    404404    }, { 
    405405        group => [ 'foo_id' ], 
    406         sort => 'foo_id desc', 
     406        sort => 'foo_id', 
     407        direction => 'descend', 
    407408    }); 
    408409my ($count, $bfid, $month); 
     
    418419$cgb_iter = Bar->count_group_by(undef, { 
    419420        group => [ 'extract(month from created_on)' ], 
    420         sort => 'extract(month from created_on) desc', 
     421        sort => 'extract(month from created_on)', 
     422        direction => 'descend', 
    421423    }); 
    422424isa_ok($cgb_iter, 'CODE');