r81069 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81068‎ | r81069 | r81070 >
Date:23:23, 26 January 2011
Author:reedy
Status:ok
Tags:
Comment:
Swap another cp_path LIKE PATH to => path
Modified paths:
  • /trunk/extensions/CodeReview/backend/CodeRevision.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/backend/CodeRevision.php
@@ -1129,10 +1129,9 @@
11301130 * @return array
11311131 */
11321132 protected function getPathConds( $path ) {
1133 - $dbr = wfGetDB( DB_SLAVE );
11341133 return array(
11351134 'cp_repo_id' => $this->mRepoId,
1136 - 'cp_path ' . $dbr->buildLike( $path, $dbr->anyString() ),
 1135+ 'cp_path' => $path,
11371136 // join conds
11381137 'cr_repo_id = cp_repo_id',
11391138 'cr_id = cp_rev_id'

Status & tagging log