[freeside-commits] freeside/FS/bin freeside-upgrade,1.35,1.36
Ivan,,,
ivan at wavetail.420.am
Sun Apr 4 23:57:26 PDT 2010
- Previous message: [freeside-commits] freeside/FS/FS/part_event/Condition balance_age.pm, 1.3, 1.3.4.1 balance.pm, 1.2, 1.2.4.1 balance_under.pm, 1.2, 1.2.4.1 cust_bill_has_service.pm, 1.5, 1.5.4.1 cust_bill_owed.pm, 1.3, 1.3.4.1 cust_bill_owed_under.pm, 1.2, 1.2.4.1
- Next message: [freeside-commits] freeside/FS/bin freeside-upgrade, 1.31.2.4, 1.31.2.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv16444
Modified Files:
freeside-upgrade
Log Message:
require DBIx::DBSchema 0.39 for mysql
Index: freeside-upgrade
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-upgrade,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -w -d -r1.35 -r1.36
--- freeside-upgrade 9 Jan 2010 08:21:45 -0000 1.35
+++ freeside-upgrade 5 Apr 2010 06:57:24 -0000 1.36
@@ -4,7 +4,7 @@
use vars qw($opt_d $opt_s $opt_q $opt_v $opt_r);
use vars qw($DEBUG $DRY_RUN);
use Getopt::Std;
-use DBIx::DBSchema 0.31;
+use DBIx::DBSchema 0.31; #0.39
use FS::UID qw(adminsuidsetup checkeuid datasrc driver_name); #getsecrets);
use FS::CurrentUser;
use FS::Schema qw( dbdef dbdef_dist reload_dbdef );
@@ -30,6 +30,11 @@
my $dbh = adminsuidsetup($user);
$FS::UID::callback_hack = 0;
+if ( driver_name =~ /^mysql/i ) { #until 0.39 is required above
+ eval "use DBIx::DBSchema 0.39;";
+ die $@ if $@;
+}
+
#needs to match FS::Schema...
my $dbdef_file = "%%%FREESIDE_CONF%%%/dbdef.". datasrc;
- Previous message: [freeside-commits] freeside/FS/FS/part_event/Condition balance_age.pm, 1.3, 1.3.4.1 balance.pm, 1.2, 1.2.4.1 balance_under.pm, 1.2, 1.2.4.1 cust_bill_has_service.pm, 1.5, 1.5.4.1 cust_bill_owed.pm, 1.3, 1.3.4.1 cust_bill_owed_under.pm, 1.2, 1.2.4.1
- Next message: [freeside-commits] freeside/FS/bin freeside-upgrade, 1.31.2.4, 1.31.2.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list