[freeside-commits] freeside/FS/bin freeside-setup,1.59,1.59.2.1
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-serv25249/FS/bin
Modified Files:
Tag: FREESIDE_1_7_BRANCH
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.59
retrieving revision 1.59.2.1
diff -u -d -r1.59 -r1.59.2.1
--- freeside-setup 14 Dec 2006 09:27:26 -0000 1.59
+++ freeside-setup 29 Oct 2007 11:18:15 -0000 1.59.2.1
@@ -28,9 +28,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
@@ -77,7 +75,7 @@
# create a dbdef object from the old data structure
###
-my $dbdef = dbdef_dist;
+my $dbdef = dbdef_dist(datasrc);
#important
$dbdef->save($dbdef_file);
@@ -94,7 +92,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