]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
assume utf8mb4 is always supported
authorDylan Hardison <dylan@hardison.net>
Sun, 21 Jun 2020 14:58:06 +0000 (10:58 -0400)
committerDylan Hardison <dylan@hardison.net>
Sun, 21 Jun 2020 15:01:11 +0000 (11:01 -0400)
Bugzilla/DB/Mysql.pm

index 74feb4c17259e6938b6a429ed39585e2362b52aa..f64f778d0c2068e49438847915b39d4f2a895568 100644 (file)
@@ -332,10 +332,7 @@ sub bz_setup_database {
   if ($self->utf8_charset eq 'utf8mb4') {
     my %global = map {@$_}
       @{$self->selectall_arrayref(q(SHOW GLOBAL VARIABLES LIKE 'innodb_%'))};
-    my $utf8mb4_supported
-      = $global{innodb_file_format} eq 'Barracuda'
-      && $global{innodb_file_per_table} eq 'ON'
-      && $global{innodb_large_prefix} eq 'ON';
+    my $utf8mb4_supported = 1;
 
     die install_string('mysql_innodb_settings') unless $utf8mb4_supported;