File Coverage

blib/lib/DBIx/Connector/Driver/mysql.pm
Criterion Covered Total %
statement 9 18 50.0
branch n/a
condition n/a
subroutine 3 7 42.8
pod 3 3 100.0
total 15 28 53.5


line stmt bran cond sub pod time code
1 2     2   2591 use strict; use warnings;
  2     2   5  
  2         55  
  2         11  
  2         3  
  2         79  
2              
3             package DBIx::Connector::Driver::mysql;
4              
5 2     2   12 use DBIx::Connector::Driver;
  2         4  
  2         465  
6              
7             our $VERSION = '0.57';
8             our @ISA = qw( DBIx::Connector::Driver );
9              
10             sub _connect {
11 0     0     my ($self, $dbh) = @_;
12 0           $dbh->{mysql_auto_reconnect} = 0;
13 0           $dbh;
14             }
15              
16             sub savepoint {
17 0     0 1   my ($self, $dbh, $name) = @_;
18 0           $dbh->do("SAVEPOINT $name");
19             }
20              
21             sub release {
22 0     0 1   my ($self, $dbh, $name) = @_;
23 0           $dbh->do("RELEASE SAVEPOINT $name");
24             }
25              
26             sub rollback_to {
27 0     0 1   my ($self, $dbh, $name) = @_;
28 0           $dbh->do("ROLLBACK TO SAVEPOINT $name");
29             }
30              
31             1;
32              
33             __END__