dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2006400
)
Reverting...this broke the site. Massive temporary tables and filesort eating up...
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 19 Dec 2006 19:44:55 +0000
(19:44 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 19 Dec 2006 19:44:55 +0000
(19:44 +0000)
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.
includes/SpecialCategories.php
patch
|
blob
|
history
diff --git
a/includes/SpecialCategories.php
b/includes/SpecialCategories.php
index
46601ef
..
89cff20
100644
(file)
--- 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";