[freeside-commits] branch FREESIDE_3_BRANCH updated. 834cf80d6b08bd0b9bf3a6330c3a1ecb639fc781
Ivan
ivan at 420.am
Sat Oct 19 22:55:18 PDT 2013
The branch, FREESIDE_3_BRANCH has been updated
via 834cf80d6b08bd0b9bf3a6330c3a1ecb639fc781 (commit)
from 556096168f538ad797a8a56f0a430b37e67ee1de (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 834cf80d6b08bd0b9bf3a6330c3a1ecb639fc781
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Oct 19 22:55:17 2013 -0700
add -c flag to skip cdr and h_cdr updates, RT#21464
diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade
index 9b57316..83b89c1 100755
--- a/FS/bin/freeside-upgrade
+++ b/FS/bin/freeside-upgrade
@@ -155,9 +155,15 @@ unless ( driver_name =~ /^mysql/i ) {
}
if ( $opt_c ) {
+
@statements =
grep { $_ !~ /^ *ALTER +TABLE +(h_)?cdr /i }
@statements;
+
+ @statements =
+ grep { $_ !~ /^ *CREATE +INDEX +(h_)?cdr\d+ /i }
+ @statements;
+
}
if ( $DRY_RUN ) {
-----------------------------------------------------------------------
Summary of changes:
FS/bin/freeside-upgrade | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
More information about the freeside-commits
mailing list