[Rt-commit] rt branch, 4.4/mysql8-quoted-tables, repushed

Aaron Trevena ast at bestpractical.com
Mon Sep 14 09:47:22 EDT 2020


The branch 4.4/mysql8-quoted-tables was deleted and repushed:
       was 3cb39ef7b62683ae2d4b8626495733e3a3fe85bd
       now 137cad7ce47ffb338b5b5c3f57b939c8bdf008ef

 1: 7b048865db =  1: 7b048865db Allow to squelch recipients that also exist in one time inputs
 2: 6cf274f5bc =  2: 6cf274f5bc Check txn's fields for its relationship with ticket
 3: 9d05b93c13 =  3: 9d05b93c13 Fix "Case sensitive search by Queues.Name" warnings in GetReferencedQueues
 4: 406252f311 =  4: 406252f311 Support to copy saved charts like searches
 5: de3e4f5000 =  5: de3e4f5000 Refactor saved chart tests a bit to reduce code duplication by using a loop
 6: feec798d3d =  6: feec798d3d Test the copy feature of saved charts
 7: 5dc91ca147 =  7: 5dc91ca147 Exclude MIME attachments when questing a transaction's content
 8: 2505933f07 =  8: 2505933f07 Add tests for transaction content
 9: 31ca5c2ab2 =  9: 31ca5c2ab2 Fix wrongly duplicated one-time addresses on ticket update page
10: 43061702cb = 10: 43061702cb Update mysql schema for mysql 8 making Groups reserved word
11: a26e687b37 ! 11: bafc87015c Update queries and user creation for Mysql 8
    @@ -14,11 +14,17 @@
     --- a/lib/RT/Handle.pm
     +++ b/lib/RT/Handle.pm
     @@
    +         return (0, "couldn't get version of the mysql server")
    +             unless $version;
    + 
    ++        # allow checking if mysql or mariadb
    ++        my $subtype = ($version =~ m/mariadb/i) ? 'mariadb' : 'mysql';
    +         ($version) = $version =~ /^(\d+\.\d+)/;
              return (0, "RT is unsupported on MySQL versions before 4.1.  Your version is $version.")
                  if $version < 4.1;
      
     +        # Installed DBIx::SearchBuilder must have table name quoting for mysql 8
    -+        if ($version >= 8) {
    ++        if ($version >= 8 and $subtype eq 'mysql') {
     +            unless ($self->can('QuoteName')) {
     +                return (0, "RT support for MySQL 8 requires a DBIx::SearchBuilder with table quoting support, check that you have the latest version of DBIx::SearchBuilder installed");
     +            }
12: 3cb39ef7b6 = 12: 137cad7ce4 Update tests for mysql 8



More information about the rt-commit mailing list