line |
true |
false |
branch |
48
|
24 |
0 |
if $@ |
49
|
0 |
0 |
if $innodb and not has_innodb($dbh) |
59
|
0 |
12 |
if $ENV{'SKIP_SQLITE'} |
60
|
12 |
0 |
unless $rv |
70
|
0 |
0 |
unless defined $init |
74
|
0 |
0 |
if ($init) |
99
|
0 |
0 |
if ($ENV{'USE_MYSQL'}) |
103
|
0 |
0 |
unless my $dbh = 'DBI'->connect(dsn_for($db), 'root', '', {'RaiseError', 1, 'PrintError', 0}) |
110
|
0 |
0 |
$ENV{'USE_MYSQL'} ? : |
112
|
0 |
0 |
if $ENV{'USE_MYSQL'} |
127
|
0 |
0 |
unless open my $fh, '<', $file |
135
|
0 |
0 |
unless return 'DBI'->connect('DBI:mysql:mysql', 'root', '', {'RaiseError', 1}) |
145
|
0 |
0 |
if ($ENV{'USE_MYSQL'}) { } |
176
|
0 |
0 |
if ($ENV{'USE_MYSQL'}) { } |
180
|
0 |
0 |
unless -e $file |
181
|
0 |
0 |
unless unlink $file |
189
|
0 |
0 |
unless $dbh->do("CREATE TABLE IF NOT EXISTS $tmpname (i int) ENGINE=INNODB") |