Show
Ignore:
Timestamp:
04/13/08 04:41:46 (20 months ago)
Author:
bchoate
Message:

Applied patches from Ogawa-san to add an optimized 'exist' method for testing for existing rows. BugId:69661

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-34/lib/MT/TemplateMap.pm

    r1823 r1873  
    108108            $blog->save; 
    109109            for my $at ( @{ $ats{ $blog->id } } ) { 
    110                 unless ( __PACKAGE__->count({ 
     110                unless ( __PACKAGE__->exist({ 
    111111                    blog_id => $blog->id, archive_type => $at, is_preferred => 1  
    112112                }) ) {