[Rt-commit] rt branch, 4.6/mysql-utf8mb4, repushed
Michel Rodriguez
michel at bestpractical.com
Tue Feb 4 07:12:18 EST 2020
The branch 4.6/mysql-utf8mb4 was deleted and repushed:
was 72a5c50f916cc75b19c6fbe384c3f7931d8b74a1
now edd56d1fc2195f732b2906f854decc3a57e0ff92
1: b429057a78 ! 1: e907b03853 Support for utf8mb4 in mysql.
@@ -26,8 +26,8 @@
To check that fields are set to utf8mb4 we check one column (Tickets.Subject)
for practical reasons.
- Simplify checks on max_allowed_packet since MySQL version is now higher.
-
+
+ Simplify checks on innodb_log_file_size since MySQL version is now higher.
No need to check version > 5.6.20 or 5.6.22 anymore, min version is 5.7.7.
diff --git a/README b/README
@@ -325,14 +325,6 @@
elsif ( $db_type eq 'Pg' ) {
my $version = $self->DatabaseVersion;
@@
- $self->dbh->{'LongReadLen'} = RT->Config->Get('MaxAttachmentSize');
- }
-
-+
- =head2 BuildDSN
-
- Build the DSN for the RT database. Doesn't take any parameters, draws all that
-@@
return (0, "couldn't get version of the mysql server")
unless $version;
@@ -340,9 +332,9 @@
- return (0, "RT is unsupported on MySQL versions before 4.1. Your version is $version.")
- if $version < 4.1;
+ # MySQL and MariaDB are both 'mysql' type.
-+ # the minimum version supported is MySQL 5.7.7 / MariaDB 10.2.2
++ # the minimum version supported is MySQL 5.7.7 / MariaDB 10.2.5
+ # the version string for MariaDB includes "MariaDB" in Debian/RedHat
-+ my $is_mariadb = $version =~ m{mariadb}i ? 0 : 1;
++ my $is_mariadb = $version =~ m{mariadb}i ? 1 : 0;
+ my $mysql_min_version = '5.7.7'; # so index sizes allow for VARCHAR(255) fields
+ my $mariadb_min_version = '10.2.5'; # uses innodb by default
+
2: 206cc765ea = 2: dc10bd7cb2 Explain utf8mb4 character set options.
3: db07145553 = 3: aa9470064f Normalize character set/collation declaration for all tables.
4: 2ff0cfd4ac = 4: c226aa07aa Test for 4-byte utf-8 character searches.
5: cee4a4d508 = 5: a326b39593 Change the full text indexer charset to utf8mb4.
6: 72a5c50f91 = 6: edd56d1fc2 Alter all relevant tables to use the utf8mb4 charset.
More information about the rt-commit
mailing list