From 02727d3f79ae5c77317e528412ef049a2d6aaf14 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 22 Sep 2009 16:41:04 +0000 Subject: [PATCH] Fix regression in sql.php: needs to run w/ DB admin privileges in order to do DB updates --- maintenance/sql.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/maintenance/sql.php b/maintenance/sql.php index b9c8b15b78..cceec00277 100644 --- a/maintenance/sql.php +++ b/maintenance/sql.php @@ -69,6 +69,10 @@ class MwSql extends Maintenance { $this->output( "Query OK, $affected row(s) affected\n" ); } } + + protected function getDbType() { + return Maintenance::DB_ADMIN; + } } class SqlPromptPrinter { -- 2.20.1