r89592 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89591‎ | r89592 | r89593 >
Date:19:22, 6 June 2011
Author:hashar
Status:ok
Tags:
Comment:
adding index on (cp_repo_id, cp_path) for sqlite

follow up r89589
Modified paths:
  • /trunk/extensions/CodeReview/CodeReview.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/CodeReview.php
@@ -290,6 +290,8 @@
291291 "$base/archives/code_signoffs_userid-sqlite.sql", true ) );
292292 $updater->addExtensionUpdate( array( 'addField', 'code_signoffs', 'cs_timestamp_struck',
293293 "$base/archives/code_signoffs_timestamp_struck.sql", true ) );
 294+ $updater->addExtensionUpdate( array( 'addIndex', 'code_paths', 'repo_path',
 295+ "$base/archives/codereview-repopath.sql", true ) );
294296 break;
295297 case 'postgres':
296298 // TODO
@@ -319,4 +321,4 @@
320322 }
321323 }
322324 return true;
323 -}
\ No newline at end of file
 325+}

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r89589* (bug 29287) Path searching input need a suggest list...reedy19:10, 6 June 2011

Status & tagging log