From 99a958531b700737236ed609d438de962a1a8532 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 15 Apr 2020 15:17:11 +0200 Subject: [PATCH] Bug 24131: Prevent the first description to be displayed twice If there are several lines to display, the first one was displayed twice: Upgrade to 19.12.00.071 done [13:10:22]: Bug 22887 - Add unique constraint to authorised_values - Add unique constraint to authorised_values - WARNING - Cannot create unique constraint on authorised_value(category, authorised_value) - The following entries are duplicated: COUNTRY:aaa (2) --- installer/data/mysql/updatedatabase.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 4590eadc01..e8752fde7a 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -21703,8 +21703,9 @@ sub NewVersion { } else { say sprintf "Upgrade to %s done [%s]: Bug %5s - %s", $DBversion, $time, $bug_number, $description; } + } else { + say sprintf "\t\t\t\t\t\t - %s", $description; } - say sprintf "\t\t\t\t\t\t - %s", $description; } else { unless ( $bug_number ) { say sprintf "Upgrade to %s done [%s]: %s", $DBversion, $time, $description; -- 2.20.1