Changeset 1856

Show
Ignore:
Timestamp:
04/11/08 04:33:08 (3 months ago)
Author:
bchoate
Message:

Removing class_author index since we don't select (system-wide) entries by author. It is also confusing the MySQL optimizer in some cases, ignoring the class+authored_on index.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-34/lib/MT/Entry.pm

    r1823 r1856  
    6464            columns => [ 'blog_id', 'class', 'author_id', 'authored_on' ], 
    6565        }, 
    66         class_author => { 
    67             columns => [ 'class', 'author_id', 'authored_on' ], 
    68         }, 
    6966        # For optimizing weekly archives, selected by blog, class, 
    7067        # status.