| 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 |