Skip to content

Commit

Permalink
Merge pull request #7825 from jdarwood007/upgradeIgnoreBackupConvert
Browse files Browse the repository at this point in the history
Do not attempt to convert backup tables to UTF-8
  • Loading branch information
Sesquipedalian authored Sep 14, 2023
2 parents a8a4318 + d6f84df commit 4c44840
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions other/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3252,6 +3252,10 @@ function ConvertUtf8()
db_extend();
$queryTables = $smcFunc['db_list_tables'](false, $db_prefix . '%');

$queryTables = array_values(array_filter($queryTables, function($v){
return stripos($v, 'backup_') !== 0;
}));

$upcontext['table_count'] = count($queryTables);

// What ones have we already done?
Expand Down

0 comments on commit 4c44840

Please sign in to comment.