From: Brion Vibber Date: Tue, 19 Dec 2006 19:44:55 +0000 (+0000) Subject: Reverting...this broke the site. Massive temporary tables and filesort eating up... X-Git-Tag: 1.31.0-rc.0~54839 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=f4a70ada582ee50922764f9d76e0c0f931967c98;p=lhc%2Fweb%2Fwiklou.git Reverting...this broke the site. Massive temporary tables and filesort eating up all slave servers. Greg, please test these things on MySQL, using an 'EXPLAIN' on the query. You have been warned before. We may have to start requiring PG compatibility commits to be reviewed before commit. --- diff --git a/includes/SpecialCategories.php b/includes/SpecialCategories.php index 46601efc7e..89cff20a05 100644 --- a/includes/SpecialCategories.php +++ b/includes/SpecialCategories.php @@ -33,7 +33,7 @@ class CategoriesPage extends QueryPage { $s= "SELECT 'Categories' as type, {$NScat} as namespace, cl_to as title, - cl_to as value, + 1 as value, COUNT(*) as count FROM $categorylinks GROUP BY 1,2,3,4";