(Mickael Joanne)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@150
48953598-375a-da11-a14b-
00016c27c3ee
}
sub setup_database {
- my ($self, $config, $namespace, $dsn, $u, $p) = @_;
+ my ($self, $config, $namespace, $dsn, $u, $p, $opts) = @_;
$config->{dsn} = $dsn;
$config->{loader} = Class::DBI::Loader->new(
namespace => $namespace,
dsn => $dsn,
user => $u,
password => $p,
+ options => $opts,
);
$config->{classes} = [ $config->{loader}->classes ];
$config->{tables} = [ $config->{loader}->tables ];