[Rt-commit] rt branch, 4.2/use-in-operator, repushed

Alex Vandiver alexmv at bestpractical.com
Tue Sep 30 17:23:46 EDT 2014


The branch 4.2/use-in-operator was deleted and repushed:
       was debe5de8aa72914c440b60fc17ec283749b44c8c
       now 47d876236b6a3cb7dc5b7e6cffb68a8ef18f8c87

1:  debe5de ! 1:  3ed8f4b When possible, switch to IN or NOT IN rather than multiple OR'd clauses
    @@ -109,6 +109,7 @@
     -        while ( my $txn = $txns->Next ) {
     -            $attachments->Limit( FIELD => 'TransactionId', VALUE => $txn->id );
     -        }
    ++        $attachments->LimitByTicket( $ticket->id );
     +        $attachments->Limit(
     +            ALIAS         => $attachments->TransactionAlias,
     +            FIELD         => 'Type',
    @@ -292,7 +293,7 @@
     --- a/lib/RT/Users.pm
     +++ b/lib/RT/Users.pm
     @@
    - 
    +     }
          my $group_members = $self->_JoinGroupMembers( %args );
      
     -    foreach my $groupid (@{$args{'Groups'}}) {
    @@ -325,3 +326,4 @@
      
          if ( RT->Config->Get('DatabaseType') eq 'Oracle' ) {
              $self->Limit(
    +
-:  ------- > 2:  47d8762 TODO: Fix CASESENSITIVE => 0 with OPERATOR => 'IN'



More information about the rt-commit mailing list