make zmupdate re-run the most recent update.
This commit is contained in:
parent
7147d47a76
commit
d5a7a1849a
|
@ -1014,7 +1014,7 @@ if ( $version )
|
|||
$dbh->{'AutoCommit'} = 0;
|
||||
foreach my $patch ( @files ) {
|
||||
my ( $v ) = $patch =~ /^zm_update\-([\d\.]+)\.sql$/;
|
||||
if ( $v gt $version ) {
|
||||
if ( $v ge $version ) {
|
||||
print( "Upgrading DB to $v from $version\n" );
|
||||
patchDB( $dbh, $v );
|
||||
if ( $dbh->errstr() ) {
|
||||
|
|
Loading…
Reference in New Issue