Index: includes/specials/SpecialLog.php =================================================================== --- includes/specials/SpecialLog.php (revision 48811) +++ includes/specials/SpecialLog.php (working copy) @@ -55,6 +55,10 @@ # Create a LogPager item to get the results and a LogEventsList item to format them... $loglist = new LogEventsList( $wgUser->getSkin(), $wgOut, 0 ); $pager = new LogPager( $loglist, $type, $user, $title, $pattern, array(), $y, $m, $tagFilter ); + // Live hack - if no (or few) log entries have change tags, + // optimizer returns low index cardinality, so MySQL thinks the join will go over MAX_JOIN_SIZE + // Domas, May 3, 2009 + $pager->mDb->query("SET SQL_BIG_SELECTS=1",$fname,true); # Set title and add header $loglist->showHeader( $pager->getType() ); # Show form options