From: Domas Mituzas Date: Sat, 8 Apr 2006 09:33:20 +0000 (+0000) Subject: actually... add STRAIGHT_JOIN :-) X-Git-Tag: 1.31.0-rc.0~57549 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=6fc3687dcfe8ef7d6c26f31d9d598d0aeeb6c905;p=lhc%2Fweb%2Fwiklou.git actually... add STRAIGHT_JOIN :-) --- diff --git a/includes/SpecialLog.php b/includes/SpecialLog.php index c8b9a13691..f67330677a 100644 --- a/includes/SpecialLog.php +++ b/includes/SpecialLog.php @@ -152,7 +152,7 @@ class LogReader { function getQuery() { $logging = $this->db->tableName( "logging" ); $user = $this->db->tableName( 'user' ); - $sql = "SELECT log_type, log_action, log_timestamp, + $sql = "SELECT /*! STRAIGHT_JOIN */ log_type, log_action, log_timestamp, log_user, user_name, log_namespace, log_title, page_id, log_comment, log_params FROM $logging ";