( SELECT MAX(upgradenum) FROM upgrade_journal )
)
";
- } elsif ( driver_name =~ /^mysql/i ) {
- push @bugfix, "
- ALTER TABLE upgrade_journal AUTO_INCREMENT =
- ( ( SELECT MAX(upgradenum) FROM upgrade_journal ) + 1 )
- ";
+ #MySQL can't do this in a statement so have to do it manually
+ #} elsif ( driver_name =~ /^mysql/i ) {
+ # push @bugfix, "
+ # ALTER TABLE upgrade_journal AUTO_INCREMENT =
+ # ( ( SELECT MAX(upgradenum) FROM upgrade_journal ) + 1 )
+ # ";
}
}
current default.
[ -s ]: Schema changes only. Useful for Pg/slony slaves where the data
+ changes will be replicated from the Pg/slony master.
[ -r ]: Skip sqlradius updates. Useful for occassions where the sqlradius
databases may be inaccessible.
[ -c ]: Skip cdr and h_cdr updates.
- changes will be replicated from the Pg/slony master.
-
[ -j ]: Run certain upgrades asychronously from the job queue. Currently
used only for the 2.x -> 3.x cust_location, cust_pay and part_pkg
upgrades. This may cause odd behavior before the upgrade is