Fix "subroutine db_main() redefined" warnings.

This commit is contained in:
zach%zachlipton.com 2006-08-03 18:13:52 +00:00
parent 0498be2f2a
commit f4795bf0dd

View File

@ -42,15 +42,8 @@ use base 'Class::DBI::mysql';
our $dsn = "dbi:mysql:database=$Litmus::Config::db_name;host=$Litmus::Config::db_host;port=3306";
our %column_aliases;
Litmus::DBI->connection( $dsn,
$Litmus::Config::db_user,
$Litmus::Config::db_pass,
{AutoCommit=>1}
);
Litmus::DBI->autoupdate(1);
# In some cases, we have column names that make sense from a database perspective