line |
true |
false |
branch |
45
|
0 |
0 |
if ($driver =~ /pg/i) { }
|
|
0 |
0 |
elsif ($driver =~ /sqlite/i) { }
|
|
0 |
0 |
elsif ($driver =~ /mysql/i) { }
|
86
|
0 |
0 |
if (not $driver =~ /mysql/i and $self->has_timeout and time - $connect_time > $self->timeout)
|
90
|
0 |
0 |
if ($self->reconnect_after_timeout or not $dbh->ping) { }
|
108
|
0 |
0 |
if ($self->_in_transaction)
|
122
|
0 |
0 |
unless (eval {
do {
$self->_set_in_transaction(1);
$dbh->begin_work;
@res = &$sub();
$dbh->commit;
$self->_set_in_transaction(0);
1
}
})
|
134
|
0 |
0 |
if $self->{'_dbh'}
|