[freeside-commits] branch FREESIDE_3_BRANCH updated. 0efd28a530593574f40dcfab69eaae2b3f0da388
Ivan
ivan at 420.am
Wed Dec 9 14:40:40 PST 2015
The branch, FREESIDE_3_BRANCH has been updated
via 0efd28a530593574f40dcfab69eaae2b3f0da388 (commit)
from a6ed29fc4e1e1b3406baccbe4a797da3fe44e343 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0efd28a530593574f40dcfab69eaae2b3f0da388
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Dec 9 14:40:38 2015 -0800
fix DBI connection string, RT#39250
diff --git a/FS/bin/freeside-cdr-mysql b/FS/bin/freeside-cdr-mysql
index 608a8dc..fe0233b 100644
--- a/FS/bin/freeside-cdr-mysql
+++ b/FS/bin/freeside-cdr-mysql
@@ -14,8 +14,8 @@ getopts('H:U:P:D:T:', \%opt);
my $user = shift or die &usage;
my $dsn = 'dbi:mysql';
-$dsn .= ":database=$opt{D}" if $opt{D};
-$dsn .= ":host=$opt{H}" if $opt{H};
+$dsn .= ":database=$opt{D}"; # if $opt{D};
+$dsn .= ";host=$opt{H}" if $opt{H};
my $mysql = DBI->connect($dsn, $opt{U}, $opt{P})
or die $DBI::errstr;
-----------------------------------------------------------------------
Summary of changes:
FS/bin/freeside-cdr-mysql | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list