https://bugzilla.wikimedia.org/show_bug.cgi?id=18657


Domas Mituzas <domas.mitu...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |domas.mitu...@gmail.com




--- Comment #1 from Domas Mituzas <domas.mitu...@gmail.com>  2009-05-03 
08:28:05 UTC ---
For now I've synced in livehack, to get it to FIXED we probably have to think
how to fix it for everyone within MediaWiki:

===================================================================
--- 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


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to