r56764 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56763‎ | r56764 | r56765 >
Date:16:41, 22 September 2009
Author:brion
Status:ok
Tags:
Comment:
Fix regression in sql.php: needs to run w/ DB admin privileges in order to do DB updates
Modified paths:
  • /trunk/phase3/maintenance/sql.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/sql.php
@@ -69,6 +69,10 @@
7070 $this->output( "Query OK, $affected row(s) affected\n" );
7171 }
7272 }
 73+
 74+ protected function getDbType() {
 75+ return Maintenance::DB_ADMIN;
 76+ }
7377 }
7478
7579 class SqlPromptPrinter {

Follow-up revisions

RevisionCommit summaryAuthorDate
r56765Merge r56764 from trunk -- use admin DB credentials for sql.phpbrion16:43, 22 September 2009

Status & tagging log