]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
improve the migration to compressed/dynamic rows, skip views
authorDylan William Hardison <dylan@hardison.net>
Mon, 15 Jul 2019 03:13:09 +0000 (23:13 -0400)
committerDylan William Hardison <dylan@hardison.net>
Mon, 15 Jul 2019 03:13:09 +0000 (23:13 -0400)
Bugzilla/DB/Mysql.pm

index b97db1fbc87ba5bdeed29abb94a3c451b0838e8e..86c91e13b797e47aea66d98f6085c8ecc175c942 100644 (file)
@@ -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}