From 2b7ac72d7086c66d14b9d08337eecea94c4d8929 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 17 Apr 2020 10:20:27 +0100 Subject: [PATCH] Bug 22887: (RM follow-up) Restore warnings in updatedatabase Signed-off-by: Martin Renvoize --- installer/data/mysql/updatedatabase.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 1b67a58edb..bf3364cbe9 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -21588,6 +21588,9 @@ if( CheckVersion( $DBversion ) ) { $_->{authorised_value}, $_->{c} } @$duplicates ); + for my $warning (@description) { + warn $warning; + } } else { $dbh->do( q{ALTER TABLE `authorised_values` ADD CONSTRAINT `av_uniq` UNIQUE (category, authorised_value)} ); } -- 2.39.5