1 package DBICTest::Stats;
5 use base qw/DBIx::Class::Storage::Statistics/;
10 $self->{'TXN_BEGIN'}++;
11 return $self->{'TXN_BEGIN'};
17 $self->{'TXN_ROLLBACK'}++;
18 return $self->{'TXN_ROLLBACK'};
24 $self->{'TXN_COMMIT'}++;
25 return $self->{'TXN_COMMIT'};
29 my ($self, $name) = @_;
31 $self->{'SVP_BEGIN'}++;
32 return $self->{'SVP_BEGIN'};
36 my ($self, $name) = @_;
38 $self->{'SVP_RELEASE'}++;
39 return $self->{'SVP_RELEASE'};
43 my ($self, $name) = @_;
45 $self->{'SVP_ROLLBACK'}++;
46 return $self->{'SVP_ROLLBACK'};
50 my ($self, $string, @bind) = @_;
52 $self->{'QUERY_START'}++;
53 return $self->{'QUERY_START'};
57 my ($self, $string) = @_;
59 $self->{'QUERY_END'}++;
60 return $self->{'QUERY_START'};