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:
d839576
)
Removed extra GROUP BY terms introduced in revision 13603, pending review, following...
author
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 21 Apr 2006 03:35:01 +0000
(
03:35
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 21 Apr 2006 03:35:01 +0000
(
03:35
+0000)
includes/SpecialListusers.php
patch
|
blob
|
history
includes/SpecialMostcategories.php
patch
|
blob
|
history
includes/SpecialMostlinked.php
patch
|
blob
|
history
includes/SpecialMostrevisions.php
patch
|
blob
|
history
diff --git
a/includes/SpecialListusers.php
b/includes/SpecialListusers.php
index
3bf16e5
..
17cc923
100644
(file)
--- a/
includes/SpecialListusers.php
+++ b/
includes/SpecialListusers.php
@@
-135,7
+135,7
@@
class ListUsersPage extends QueryPage {
"FROM $user ".
"LEFT JOIN $user_groups ON user_id=ug_user " .
$this->userQueryWhere( $dbr ) .
"FROM $user ".
"LEFT JOIN $user_groups ON user_id=ug_user " .
$this->userQueryWhere( $dbr ) .
- " GROUP BY user_name
, user_id
";
+ " GROUP BY user_name";
return $sql;
}
return $sql;
}
diff --git
a/includes/SpecialMostcategories.php
b/includes/SpecialMostcategories.php
index
0deaac9
..
17dbb5d
100644
(file)
--- a/
includes/SpecialMostcategories.php
+++ b/
includes/SpecialMostcategories.php
@@
-34,7
+34,7
@@
class MostcategoriesPage extends QueryPage {
FROM $categorylinks
LEFT JOIN $page ON cl_from = page_id
WHERE page_namespace = " . NS_MAIN . "
FROM $categorylinks
LEFT JOIN $page ON cl_from = page_id
WHERE page_namespace = " . NS_MAIN . "
- GROUP BY cl_from
, page_namespace, page_title
+ GROUP BY cl_from
HAVING COUNT(*) > 1
";
}
HAVING COUNT(*) > 1
";
}
diff --git
a/includes/SpecialMostlinked.php
b/includes/SpecialMostlinked.php
index
5747174
..
6b51860
100644
(file)
--- a/
includes/SpecialMostlinked.php
+++ b/
includes/SpecialMostlinked.php
@@
-37,7
+37,7
@@
class MostlinkedPage extends QueryPage {
page_namespace
FROM $pagelinks
LEFT JOIN $page ON pl_namespace=page_namespace AND pl_title=page_title
page_namespace
FROM $pagelinks
LEFT JOIN $page ON pl_namespace=page_namespace AND pl_title=page_title
- GROUP BY pl_namespace,pl_title
,page_namespace
+ GROUP BY pl_namespace,pl_title
HAVING COUNT(*) > 1";
}
HAVING COUNT(*) > 1";
}
diff --git
a/includes/SpecialMostrevisions.php
b/includes/SpecialMostrevisions.php
index
46c66ec
..
6bc807e
100644
(file)
--- a/
includes/SpecialMostrevisions.php
+++ b/
includes/SpecialMostrevisions.php
@@
-36,7
+36,7
@@
class MostrevisionsPage extends QueryPage {
FROM $revision
LEFT JOIN $page ON page_id = rev_page
WHERE page_namespace = " . NS_MAIN . "
FROM $revision
LEFT JOIN $page ON page_id = rev_page
WHERE page_namespace = " . NS_MAIN . "
- GROUP BY rev_page
, page_namespace, page_title
+ GROUP BY rev_page
HAVING COUNT(*) > 1
";
}
HAVING COUNT(*) > 1
";
}