Bug 41834: (follow-up) nullify marcflavour in atomicupdate

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
This commit is contained in:
David Cook 2026-03-11 04:55:40 +00:00 committed by Martin Renvoize
parent 92b8e9ea3c
commit e403698cd2
No known key found for this signature in database
GPG Key ID: 2D86E0EAEC83711B
1 changed files with 10 additions and 0 deletions

View File

@ -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;
},
};