From 28ba1234d18ace3532a09132c48925ff9a82443e Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 11 Mar 2026 04:55:40 +0000 Subject: [PATCH] Bug 41834: (follow-up) nullify marcflavour in atomicupdate Signed-off-by: David Cook --- installer/data/mysql/atomicupdate/bug_41834.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/installer/data/mysql/atomicupdate/bug_41834.pl b/installer/data/mysql/atomicupdate/bug_41834.pl index 7464b178186..892ff88985d 100755 --- a/installer/data/mysql/atomicupdate/bug_41834.pl +++ b/installer/data/mysql/atomicupdate/bug_41834.pl @@ -66,6 +66,16 @@ return { WHERE variable IN (} . join( q{,}, map { q{?} } @sysprefs ) . q{)}, undef, @sysprefs ); + my $updated_last = $dbh->do( + q{ + UPDATE systempreferences + SET options=NULL, explanation=NULL, type=NULL + WHERE variable = 'marcflavour' + } + ); + + $updated = $updated + $updated_last; + say $out sprintf "Updated %s system preferences", $updated; }, }; -- 2.39.5