From: Sam Reed Date: Fri, 11 Nov 2011 16:47:48 +0000 (+0000) Subject: Naff all point varying on $this->updateRowExists when we never bloody insert to that... X-Git-Tag: 1.31.0-rc.0~26555 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=87147c5109858acb349782c064622a0d2dc49fe9;p=lhc%2Fweb%2Fwiklou.git Naff all point varying on $this->updateRowExists when we never bloody insert to that database (more of these to come as I cleanup the updater) --- diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index 58c1f4f499..6a6c23f76d 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -573,6 +573,7 @@ abstract class DatabaseUpdater { } $task = $this->maintenance->runChild( 'PopulateLogUsertext' ); $task->execute(); + $this->insertUpdateRow( 'populate log_usertext' ); } protected function doLogSearchPopulation() { @@ -584,6 +585,7 @@ abstract class DatabaseUpdater { } $task = $this->maintenance->runChild( 'PopulateLogSearch' ); $task->execute(); + $this->insertUpdateRow( 'populate log_search' ); } protected function doUpdateTranscacheField() { diff --git a/includes/installer/MysqlUpdater.php b/includes/installer/MysqlUpdater.php index 0da2ab0417..a037e9dba2 100644 --- a/includes/installer/MysqlUpdater.php +++ b/includes/installer/MysqlUpdater.php @@ -758,6 +758,7 @@ class MysqlUpdater extends DatabaseUpdater { } $task = $this->maintenance->runChild( 'PopulateParentId' ); $task->execute(); + $this->insertUpdateRow( 'populate rev_parent_id' ); } protected function doMaybeProfilingMemoryUpdate() {