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:
bbbbeb2
)
Re-order tables in FROM to get it working on PostgreSQL.
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 8 Sep 2004 23:24:17 +0000
(23:24 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 8 Sep 2004 23:24:17 +0000
(23:24 +0000)
Fix for bug 393: Special:Log fails on PostgreSQL
http://bugzilla.wikipedia.org/show_bug.cgi?id=393
includes/SpecialLog.php
patch
|
blob
|
history
diff --git
a/includes/SpecialLog.php
b/includes/SpecialLog.php
index
2e3e2d0
..
59547d4
100644
(file)
--- a/
includes/SpecialLog.php
+++ b/
includes/SpecialLog.php
@@
-146,7
+146,7
@@
class LogReader {
$sql = "SELECT log_type, log_action, log_timestamp,
log_user, user_name,
log_namespace, log_title, cur_id,
- log_comment FROM $
logging, $user
";
+ log_comment FROM $
user, $logging
";
if( !empty( $this->joinClauses ) ) {
$sql .= implode( ',', $this->joinClauses );
}