View | Details | Raw Unified | Return to bug 20123
Collapse All | Expand All

(-)a/Koha/Database.pm (-1 / +1 lines)
Lines 71-76 sub _new_schema { Link Here
71
71
72
    my ( %encoding_attr, $encoding_query, $tz_query, $sql_mode_query );
72
    my ( %encoding_attr, $encoding_query, $tz_query, $sql_mode_query );
73
    my $tz = C4::Context->timezone;
73
    my $tz = C4::Context->timezone;
74
    $tz = q{} if ( $tz eq 'local' );
74
    if ( $db_driver eq 'mysql' ) {
75
    if ( $db_driver eq 'mysql' ) {
75
        %encoding_attr = ( mysql_enable_utf8 => 1 );
76
        %encoding_attr = ( mysql_enable_utf8 => 1 );
76
        $encoding_query = "set NAMES 'utf8mb4'";
77
        $encoding_query = "set NAMES 'utf8mb4'";
77
- 

Return to bug 20123