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

(-)a/installer/data/mysql/atomicupdate/bug_14180.pl (-6 / +8 lines)
Lines 1-15 Link Here
1
use Modern::Perl;
1
use Modern::Perl;
2
2
3
return {
3
return {
4
    bug_number => "14180",
4
    bug_number  => "14180",
5
    description => "Add system preference AlwaysLoadCheckoutsTable",
5
    description => "Add system preference AlwaysLoadCheckoutsTable",
6
    up => sub {
6
    up          => sub {
7
        my ($args) = @_;
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
8
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
9
        # Do you stuffs here
10
        # Do you stuffs here
10
        $dbh->do(q{
11
        $dbh->do(
12
            q{
11
            INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`)
13
            INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`)
12
            VALUES ('AlwaysLoadCheckoutsTable','0','','Option to always load the checkout table','YesNo')
14
            VALUES ('AlwaysLoadCheckoutsTable','0','','Option to always load the checkout table','YesNo')
13
        });
15
        }
16
        );
14
    },
17
    },
15
};
18
};
16
- 

Return to bug 14180