From 0bf9aacab24d2e99e4095fa415e1d56d724aa0f5 Mon Sep 17 00:00:00 2001 From: Andy Bauer Date: Tue, 10 Sep 2013 12:46:33 -0500 Subject: [PATCH] Update zmupdate.pl.in for 1.26.3 release --- db/Makefile.am | 3 ++- db/zm_update-1.26.3.sql | 6 ++++++ scripts/zmupdate.pl.in | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 db/zm_update-1.26.3.sql diff --git a/db/Makefile.am b/db/Makefile.am index 51b764597..040f77c46 100644 --- a/db/Makefile.am +++ b/db/Makefile.am @@ -44,4 +44,5 @@ EXTRA_DIST = \ zm_update-1.24.4.sql \ zm_update-1.26.0.sql \ zm_update-1.26.1.sql \ - zm_update-1.26.2.sql + zm_update-1.26.2.sql \ + zm_update-1.26.3.sql diff --git a/db/zm_update-1.26.3.sql b/db/zm_update-1.26.3.sql new file mode 100644 index 000000000..dae0ca828 --- /dev/null +++ b/db/zm_update-1.26.3.sql @@ -0,0 +1,6 @@ +-- +-- This updates a 1.26.2 database to 1.26.3 +-- +-- No changes required +-- + diff --git a/scripts/zmupdate.pl.in b/scripts/zmupdate.pl.in index efc93706b..a5a667e09 100644 --- a/scripts/zmupdate.pl.in +++ b/scripts/zmupdate.pl.in @@ -1039,6 +1039,13 @@ if ( $version ) $cascade = !undef; } + if ( $cascade || $version eq "1.26.3" ) + { + # Patch the database + patchDB( $dbh, "1.26.3" ); + $cascade = !undef; + } + if ( $cascade ) { my $installed_version = ZM_VERSION;