[freeside-commits] freeside/rt/sbin rt-setup-database.in,1.6,1.7
Ivan,,,
ivan at wavetail.420.am
Tue Oct 17 02:03:51 PDT 2006
Update of /home/cvs/cvsroot/freeside/rt/sbin
In directory wavetail:/tmp/cvs-serv2897/sbin
Modified Files:
rt-setup-database.in
Log Message:
commiting rt 3.4.5 to HEAD
Index: rt-setup-database.in
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/sbin/rt-setup-database.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- rt-setup-database.in 15 Oct 2005 09:33:53 -0000 1.6
+++ rt-setup-database.in 17 Oct 2006 09:03:49 -0000 1.7
@@ -130,7 +130,14 @@
unless ($RT::DatabaseType eq 'SQLite') {
$dbh->disconnect;
+
+ if ($RT::DatabaseType eq "Oracle") {
+ $RT::DatabasePassword = $RT::DatabasePassword; #Warning avidance
+ $dbh = DBI->connect( $Handle->DSN, ${RT::DatabaseUser}, ${RT::DatabasePassword} ) || die $DBI::errstr;
+ } else {
+
$dbh = DBI->connect( $Handle->DSN, $args{'dba'}, $args{'dba-password'} ) || die $DBI::errstr;
+ }
}
print "Now populating database schema.\n";
insert_schema();
More information about the freeside-commits
mailing list