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

? sunnavy sunnavy at bestpractical.com
Thu Jan 21 07:40:43 EST 2021


The branch 4.4/mysql8 was deleted and repushed:
       was 6840720d5525870f6001966c5122a932980ea1f5
       now 797c2b89aef1035360cf9f2f4bd1d7cac053ecfd

1: 1d425c1203 ! 1: 6c783c4053 Make RT work with MySQL 8
    @@ -172,11 +172,11 @@
              }
          }
      
    -+    my $quoted_table = $self->QuoteName( $args{'Table'} );
    ++    my $table = $self->can('QuoteName') ? $self->QuoteName( $args{'Table'} ) : $args{'Table'};
          my $sql = "CREATE"
              . ($args{'Unique'}? ' UNIQUE' : '')
     -        ." INDEX $name ON $args{'Table'}"
    -+        ." INDEX $name ON $quoted_table"
    ++        ." INDEX $name ON $table"
              ."(". join( ', ', @columns ) .")"
          ;
      
    @@ -188,7 +188,7 @@
                       @_
                     );
      
    -+    my $groups_table = $self->QuotedTableName('Groups');
    ++    my $groups_table = $self->can('QuotedTableName') ? $self->QuotedTableName('Groups') : 'Groups';
          my $query =
     -        " FROM Groups, Principals, CachedGroupMembers WHERE "
     +        " FROM $groups_table, Principals, CachedGroupMembers WHERE "
    @@ -203,7 +203,7 @@
      sub LockForUpdate {
          my $self = shift;
      
    -+    my $table = $self->QuotedTableName($self->Table);
    ++    my $table = $self->can('QuotedTableName') ? $self->QuotedTableName($self->Table) : $self->Table;
          my $pk = $self->_PrimaryKey;
          my $id = @_ ? $_[0] : $self->$pk;
          $self->_expire if $self->isa("DBIx::SearchBuilder::Record::Cachable");
2: 6840720d55 = 2: 797c2b89ae Update DBIx::SearchBuilder to 1.69 to work with MySQL 8



More information about the rt-commit mailing list