r80983 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80982‎ | r80983 | r80984 >
Date:19:58, 25 January 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix r80982, re-add accidental removed AND during debugging
Modified paths:
  • /trunk/phase3/includes/search/SearchMySQL.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/search/SearchMySQL.php
@@ -284,7 +284,7 @@
285285 $searchindex = $this->db->tableName( 'searchindex' );
286286 return 'SELECT page_id, page_namespace, page_title ' .
287287 "FROM $page,$searchindex " .
288 - 'WHERE page_id=si_page ' . $match;
 288+ 'WHERE page_id=si_page AND ' . $match;
289289 }
290290
291291 function getCountQuery( $filteredTerm, $fulltext ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r80982Followup r80856, don't unconditionally add the "AND" as if '' is returned by ...reedy19:56, 25 January 2011

Status & tagging log