From 48188a1065b11a4e83e67d5b2e08c45552b80f1e 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) Signed-off-by: Martin Renvoize --- 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 58f0bf7390..134f8a3d94 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -21717,8 +21717,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.39.5