+ [misc] Skip the metriclib table when converting charset to improve performance.
This commit is contained in:
@@ -10875,6 +10875,7 @@ class upgradeModel extends model
|
||||
{
|
||||
if(strpos($tableName, $this->config->db->prefix) !== 0) continue;
|
||||
if($tableCollation == $serverCollation) continue;
|
||||
if($tableName == TABLE_METRICLIB) continue;
|
||||
|
||||
/* 转换表的字符集和排序规则。Convert table charset and collation. */
|
||||
$this->dbh->exec("ALTER TABLE `{$tableName}` CONVERT TO CHARACTER SET {$serverCharset} COLLATE {$serverCollation}");
|
||||
|
||||
Reference in New Issue
Block a user