line |
true |
false |
branch |
47
|
0 |
0 |
unless my $type = &reftype($arg) |
48
|
0 |
0 |
unless $type eq 'HASH' |
51
|
0 |
0 |
if $binary = $arg->{'mysqld'} |
140
|
0 |
0 |
$provider eq 'percona' ? : |
157
|
0 |
6 |
ref $this ? : |
161
|
6 |
0 |
unless $DBDMYSQL or $DBDMARIA |
164
|
6 |
0 |
if ($spec->{'bootstrap'}) { } |
|
0 |
0 |
elsif ($spec->{'autostart'}) { } |
165
|
6 |
0 |
unless $check{'mysqld'} and -x $check{'mysqld'} |
168
|
0 |
0 |
unless $check{'mysqld'} and -x $check{'mysqld'} |
171
|
6 |
0 |
if ($spec->{'load_sql'}) |
172
|
6 |
0 |
unless $check{'mysql'} and -x $check{'mysql'} |
175
|
0 |
6 |
if ($check{'mysqld'} or $MYSQLD) |
177
|
0 |
0 |
if ($version and $version =~ /(\d+)\.(\d+)\.(\d+)/) |
179
|
0 |
0 |
if $a < 5 or $a == 5 and $b < 6 |
184
|
0 |
6 |
unless @bad |
194
|
0 |
0 |
unless ($self->{'mysqld_provider'}) |
195
|
0 |
0 |
if ($self->version_string =~ /(mariadb|percona)/i) { } |
198
|
0 |
0 |
if ($self->{'mysqld_provider'} eq 'percona') |
202
|
0 |
0 |
if ($help =~ /--bootstrap/) |
205
|
0 |
0 |
$INSTALLDB ? : |
213
|
0 |
0 |
if ($help =~ /(mariadb|percona)/i) { } |
|
0 |
0 |
elsif ($help =~ /--bootstrap/) { } |
|
0 |
0 |
elsif ($help =~ /--initialize/) { } |
226
|
0 |
0 |
unless $self->{'mysqld_provider'} |
248
|
0 |
0 |
if (defined $cfg->{$key}) { } |
253
|
0 |
0 |
if defined $subcfg->{$skey} |
287
|
0 |
0 |
unless open my $cfh, '>', $cfg_file |
290
|
0 |
0 |
unless my $sconf = $conf->{$section} |
292
|
0 |
0 |
if $params{'add'} |
297
|
0 |
0 |
unless defined $val |
299
|
0 |
0 |
if $params{'skip'} and $key =~ /$params{'skip'}/ || $val =~ /$params{'skip'}/ |
301
|
0 |
0 |
if (length $val) { } |
322
|
0 |
0 |
unless mkdir $data_dir |
323
|
0 |
0 |
unless mkdir $temp_dir |
327
|
0 |
0 |
unless open my $init, '>', $init_file |
333
|
0 |
0 |
if ($provider eq 'percona') { } |
335
|
0 |
0 |
if ($self->{'use_bootstrap'}) { } |
336
|
0 |
0 |
if ($self->{'use_installdb'}) |
397
|
0 |
0 |
unless defined $db_name |
401
|
0 |
0 |
if ($self->{'dbd_driver'} eq 'DBD::MariaDB') { } |