db port setting not applied in gps-maintain.pl
Brought to you by:
mimo
database port configuration was not applied in gps-maintain.pl
here is the patch!
--- gps-maintain.pl.orig 2009-05-06 16:34:54.000000000 +0900
+++ gps-maintain.pl 2009-05-06 16:34:57.000000000 +0900
@@ -244,7 +244,7 @@
$gpsConfig{'db_host'} = '127.0.0.1';
}
-my $dsn = sprintf('DBI:%s:dbname=%s;host=%s;port=',
+my $dsn = sprintf('DBI:%s:dbname=%s;host=%s;port=%s',
$gpsConfig{'dbtype'},
$gpsConfig{'db_dbname'},
$gpsConfig{'db_host'},