blib/lib/ClearPress/driver/mysql.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 16 | 0.0 |
line | true | false | branch |
---|---|---|---|
23 | 0 | 0 | if ($self->{'dbh'} and not $self->{'dbh'}->ping) |
28 | 0 | 0 | unless ($self->{'dbh'}) |
30 | 0 | 0 | if ($self->{'dsn_opts'}) |
31 | 0 | 0 | if (ref $self->{'dsn_opts'} and scalar keys %{$$self{'dsn_opts'};}) { } |
76 | 0 | 0 | unless (eval { do { $self->{'dbh'} = 'DBI'->connect($dsn, $self->{'dbuser'} || '', $self->{'dbpass'}, {'RaiseError', 1, 'AutoCommit', 0, 'mysql_enable_utf8', 1}); $self->{'dbh'}->do('SET NAMES utf8') } }) |
111 | 0 | 0 | if (defined $start and defined $len) { } |
0 | 0 | elsif (defined $len) { } | |
123 | 0 | 0 | if ($sth->{'mysql_warning_count'}) |