Browseable/Store/MySQL.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 22 CC 2 SCAR 12.8
CC
2
Cov
0%
connection
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.6
1 package Apache::Session::Browseable::Store::MySQL;
2  
3 use strict;
4  
5 use Apache::Session::Browseable::Store::DBI;
6 use Apache::Session::Store::MySQL;
7  
8 our @ISA =
9 qw(Apache::Session::Browseable::Store::DBI Apache::Session::Store::MySQL);
10 our $VERSION = '1.2.2';
11  
12 sub connection {
13 my($self,$session)=@_;
14 $self->SUPER::connection($session);
15 if ( $self->{dbh}->{Driver}->{Name} eq "mysql" ) {
16 $self->{dbh}->{mysql_enable_utf8} = 1;
17 }
18 }
19  
20 1;
21