[freeside-commits] branch FREESIDE_3_BRANCH updated. dca8165e63b41dbf72a12a171ccfda2b17a420ca
Ivan
ivan at 420.am
Fri Jun 6 15:21:07 PDT 2014
The branch, FREESIDE_3_BRANCH has been updated
via dca8165e63b41dbf72a12a171ccfda2b17a420ca (commit)
from 290c3c20dfc9827efe4ead0373468ef2de5379a1 (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 dca8165e63b41dbf72a12a171ccfda2b17a420ca
Author: Ivan Kohler <ivan at freeside.biz>
Date: Fri Jun 6 15:21:05 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 e74abbf..bf99be6 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