line |
true |
false |
branch |
200
|
0 |
0 |
unless $create_sql->{$wanted_schema} |
209
|
0 |
0 |
if (scalar keys %tables > 0) |
212
|
0 |
0 |
if ($upgrade_schema) |
213
|
0 |
0 |
if ($fetch_upgrades{$upgrade_schema}) |
217
|
0 |
0 |
if ($@) |
222
|
0 |
0 |
if ($perm_check) |
236
|
0 |
0 |
if ($tables{$required}) { } |
241
|
0 |
0 |
unless $dbh->do($sql) |
247
|
0 |
0 |
if ($upgrade_schema) |
248
|
0 |
0 |
if ($fetch_upgrades{$upgrade_schema}) { } |
254
|
0 |
0 |
if (ref $update eq 'CODE') { } |
|
0 |
0 |
elsif (ref $update eq 'ARRAY') { } |
268
|
0 |
0 |
if $disconnect_required |
277
|
0 |
0 |
unless my $sth = $dbh->prepare('SHOW TABLES') |
281
|
0 |
0 |
if exists $create_sql->{$wanted_schema}{$table} |
322
|
0 |
0 |
unless $dbh->do('DROP TABLE IF EXISTS ' . join(',', keys %{$$create_sql{$Wiki::Toolkit::Setup::MySQL::SCHEMA_VERSION};})) |
327
|
0 |
0 |
if $disconnect_required |
332
|
0 |
0 |
if (ref $_[0] and ref $_[0] eq 'DBI::db') |
337
|
0 |
0 |
if (ref $_[0] and ref $_[0] eq 'HASH') |
339
|
0 |
0 |
if ($args{'dbh'}) { } |
357
|
0 |
0 |
if (ref $_[0] and ref $_[0] eq 'DBI::db') |
362
|
0 |
0 |
if (ref $_[0] and ref $_[0] eq 'HASH') |
370
|
0 |
0 |
if (ref $_[0] and ref $_[0] eq 'DBI::db') |
375
|
0 |
0 |
if (ref $_[0] and ref $_[0] eq 'HASH') |
377
|
0 |
0 |
if ($args{'dbh'}) { } |
391
|
0 |
0 |
if $args{'dbhost'} |
393
|
0 |
0 |
unless my $dbh = 'DBI'->connect($dsn, $args{'dbuser'}, $args{'dbpass'}, {'PrintError', 1, 'RaiseError', 1, 'AutoCommit', 1}) |