File Coverage

blib/lib/DBIx/Connector/Driver/Firebird.pm
Criterion Covered Total %
statement 9 14 64.2
branch n/a
condition n/a
subroutine 3 6 50.0
pod 3 3 100.0
total 15 23 65.2


line stmt bran cond sub pod time code
1 2     2   2686 use strict; use warnings;
  2     2   4  
  2         87  
  2         11  
  2         4  
  2         68  
2              
3             package DBIx::Connector::Driver::Firebird;
4              
5 2     2   10 use DBIx::Connector::Driver;
  2         3  
  2         367  
6              
7             our $VERSION = '0.59';
8             our @ISA = qw( DBIx::Connector::Driver );
9              
10             sub savepoint {
11 0     0 1   my ($self, $dbh, $name) = @_;
12 0           $dbh->do("SAVEPOINT $name");
13             }
14              
15             # Firebird automatically erases a savepoint when you create another
16             # one with the same name.
17 0     0 1   sub release { 1 }
18              
19             sub rollback_to {
20 0     0 1   my ($self, $dbh, $name) = @_;
21 0           $dbh->do("ROLLBACK TO $name");
22             }
23              
24             1;
25              
26             __END__