line |
true |
false |
branch |
54
|
0 |
0 |
unless $self->_init(@_) |
65
|
0 |
0 |
unless eval {
do {
$self->{'dbh'} = 'DBI'->connect("dbi:${driver}:$dsn", $userid, $passwd, {'PrintWarn', 0, 'PrintError', 1})
}
} |
71
|
0 |
0 |
if (not $self->{'dbh'}) { } |
85
|
0 |
0 |
if ($key_field) { } |
86
|
0 |
0 |
unless eval {
do {
$self->{'data'} = $self->{'dbh'}->selectall_hashref($sql, $key_field)
}
} |
90
|
0 |
0 |
if ($self->{'dbh'}->err) |
93
|
0 |
0 |
if ($hash_array) |
98
|
0 |
0 |
unless eval {
do {
$self->{'data'} = $self->{'dbh'}->selectall_arrayref($sql)
}
} |
100
|
0 |
0 |
if ($self->{'dbh'}->err) |
110
|
0 |
0 |
unless eval {
do {
$self->{'dbh'}->do($sql)
}
} |
112
|
0 |
0 |
if ($self->{'dbh'}->err) |
120
|
0 |
0 |
if (ref $self->{'data'}) |
128
|
0 |
0 |
if ($self->has_data) |
142
|
0 |
0 |
if ($self->{'dbh'}) { } |
152
|
0 |
0 |
if ($self->{'dbh'}) { } |
162
|
0 |
0 |
if ($self->{'dbh'}) { } |