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

(-)a/installer/data/mysql/updatedatabase.pl (-2 / +1 lines)
Lines 21577-21583 if( CheckVersion( $DBversion ) ) { Link Here
21577
            SELECT category, authorised_value, COUNT(concat(category, ':', authorised_value)) AS c
21577
            SELECT category, authorised_value, COUNT(concat(category, ':', authorised_value)) AS c
21578
            FROM authorised_values
21578
            FROM authorised_values
21579
            GROUP BY category, authorised_value
21579
            GROUP BY category, authorised_value
21580
            HAVING c > 1
21580
            HAVING COUNT(concat(category, ':', authorised_value)) > 1
21581
        |, { Slice => {} });
21581
        |, { Slice => {} });
21582
        if ( @$duplicates ) {
21582
        if ( @$duplicates ) {
21583
            push @description, "WARNING - Cannot create unique constraint on authorised_value(category, authorised_value)";
21583
            push @description, "WARNING - Cannot create unique constraint on authorised_value(category, authorised_value)";
21584
- 

Return to bug 22887