X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FMysqlUpdater.php;h=d414d9071f552b743b275446b66997766d31553a;hb=e7f803b071df26963726481e876779765f068ff7;hp=57eaffed26071c72658c9d8e86f6edcc0eb4be90;hpb=96906168cac0e9a7748511b48c369cf22c8406d5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/MysqlUpdater.php b/includes/installer/MysqlUpdater.php index 57eaffed26..d414d9071f 100644 --- a/includes/installer/MysqlUpdater.php +++ b/includes/installer/MysqlUpdater.php @@ -182,7 +182,6 @@ class MysqlUpdater extends DatabaseUpdater { [ 'dropIndex', 'iwlinks', 'iwl_prefix', 'patch-kill-iwl_prefix.sql' ], [ 'addField', 'categorylinks', 'cl_collation', 'patch-categorylinks-better-collation.sql' ], [ 'doClFieldsUpdate' ], - [ 'doCollationUpdate' ], [ 'addTable', 'module_deps', 'patch-module_deps.sql' ], [ 'dropIndex', 'archive', 'ar_page_revid', 'patch-archive_kill_ar_page_revid.sql' ], [ 'addIndex', 'archive', 'ar_revid', 'patch-archive_ar_revid.sql' ], @@ -279,6 +278,11 @@ class MysqlUpdater extends DatabaseUpdater { [ 'dropTable', 'msg_resource_links' ], [ 'dropTable', 'msg_resource' ], [ 'addTable', 'bot_passwords', 'patch-bot_passwords.sql' ], + [ 'addField', 'watchlist', 'wl_id', 'patch-watchlist-wl_id.sql' ], + [ 'dropIndex', 'categorylinks', 'cl_collation', 'patch-kill-cl_collation_index.sql' ], + [ 'addIndex', 'categorylinks', 'cl_collation_ext', + 'patch-add-cl_collation_ext_index.sql' ], + [ 'doCollationUpdate' ], ]; } @@ -516,7 +520,7 @@ class MysqlUpdater extends DatabaseUpdater { $prev_title = $row->cur_title; $prev_namespace = $row->cur_namespace; } - $sql = "DELETE FROM $cur WHERE cur_id IN ( " . join( ',', $deleteId ) . ')'; + $sql = "DELETE FROM $cur WHERE cur_id IN ( " . implode( ',', $deleteId ) . ')'; $this->db->query( $sql, __METHOD__ ); $this->output( wfTimestamp( TS_DB ) ); $this->output( "......Deleted " . $this->db->affectedRows() . " records.\n" );