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

(-)a/installer/data/mysql/atomicupdate/bug_38794.pl (-6 / +8 lines)
Lines 8-19 return { Link Here
8
        my ($args) = @_;
8
        my ($args) = @_;
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
10
10
11
        # Do you stuffs here
12
        $dbh->do(
11
        $dbh->do(
13
            q{update authorised_values set lib = "Aggregated full text" where category = "ERM_PACKAGE_CONTENT_TYPE" and authorised_value = "AggregatedFullText" and lib = "Aggregated full"}
12
            q{
14
        );
13
            UPDATE authorised_values
15
14
            SET lib = "Aggregated full text"
16
        say_success( $out, "Updated description of authorized value AggregatedFullText" );
15
            WHERE category = "ERM_PACKAGE_CONTENT_TYPE"
16
                AND authorised_value = "AggregatedFullText"
17
                AND lib = "Aggregated full"
18
            }
19
        ) == 1 && say_success( $out, "Updated description of authorized value AggregatedFullText" );
17
20
18
    },
21
    },
19
};
22
};
20
- 

Return to bug 38794