[freeside-commits] branch master updated. c126586039e34cdde988cdf854a66958e9752de8
Ivan
ivan at 420.am
Fri Jun 6 15:21:04 PDT 2014
The branch, master has been updated
via c126586039e34cdde988cdf854a66958e9752de8 (commit)
from 4f335eca5fd1efa2c823d461f7e34feded4e4990 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c126586039e34cdde988cdf854a66958e9752de8
Author: Ivan Kohler <ivan at freeside.biz>
Date: Fri Jun 6 15:21:02 2014 -0700
just don't attempt to auto-set upgrade_journal.upgradenum sequence, mysql is drain bramaged, RT#28895
diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade
index 5b94c47..7e074cc 100755
--- a/FS/bin/freeside-upgrade
+++ b/FS/bin/freeside-upgrade
@@ -100,11 +100,12 @@ if ( dbdef->table('upgrade_journal') ) {
( 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 )
+ # ";
}
}
-----------------------------------------------------------------------
Summary of changes:
FS/bin/freeside-upgrade | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
More information about the freeside-commits
mailing list