From: Dylan William Hardison Date: Mon, 15 Jul 2019 03:13:09 +0000 (-0400) Subject: improve the migration to compressed/dynamic rows, skip views X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=533c55d57ff98ab543ac0aa13b8991ac2fb99cfa;p=thirdparty%2Fbugzilla.git improve the migration to compressed/dynamic rows, skip views --- diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm index b97db1fbc8..86c91e13b7 100644 --- a/Bugzilla/DB/Mysql.pm +++ b/Bugzilla/DB/Mysql.pm @@ -349,7 +349,10 @@ sub bz_setup_database { foreach my $table (@$tables) { my ($table, undef, undef, $row_format) = @$table; my $new_row_format = $self->default_row_format($table); - next if $new_row_format =~ /compact/i; + next if lc($table->[-1]) eq 'view' + next if lc($new_row_format) eq 'compact'; + next if lc($row_format) eq 'dynamic'; + next if lc($row_format) eq 'compressed'; if (lc($new_row_format) ne lc($row_format)) { print install_string( 'mysql_row_format_conversion', {table => $table, format => $new_row_format}