[freeside-commits] freeside/FS/bin freeside-setup,1.63,1.64
Ivan,,,
ivan at wavetail.420.am
Mon Oct 29 04:18:17 PDT 2007
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail:/tmp/cvs-serv25241/FS/bin
Modified Files:
freeside-setup
Log Message:
forgotton freeside-setup bits of mysql locking workaround
Index: freeside-setup
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-setup,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- freeside-setup 25 Oct 2007 08:29:34 -0000 1.63
+++ freeside-setup 29 Oct 2007 11:18:14 -0000 1.64
@@ -32,9 +32,7 @@
###
-#print "\nEnter the maximum username length: ";
-#my($username_len)=&getvalue;
-my $username_len = 32; #usernamemax config file
+my $username_len = 32;
#print "\n\n", <<END, ":";
#Freeside tracks the RADIUS User-Name, check attribute Password and
@@ -81,7 +79,7 @@
# create a dbdef object from the old data structure
###
-my $dbdef = dbdef_dist;
+my $dbdef = dbdef_dist(datasrc);
#important
$dbdef->save($dbdef_file);
@@ -100,7 +98,6 @@
$|=1;
foreach my $statement ( $dbdef->sql($dbh) ) {
- warn $statement if $statement =~ /TABLE cdr/;
$dbh->do( $statement )
or die "CREATE error: ". $dbh->errstr. "\ndoing statement: $statement";
}
More information about the freeside-commits
mailing list