Bugzilla – Attachment 103000 Details for
Bug 22887
authorised_values is missing a unique constraint on category + authorised_value
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22887: Remove superfluous warn statements
Bug-22887-Remove-superfluous-warn-statements.patch (text/plain), 999 bytes, created by
Jonathan Druart
on 2020-04-15 13:05:08 UTC
(
hide
)
Description:
Bug 22887: Remove superfluous warn statements
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-04-15 13:05:08 UTC
Size:
999 bytes
patch
obsolete
>From 6861dbc55b3c7efdfdc45d9b3fa0c7051bbbb9f0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 15 Apr 2020 15:04:16 +0200 >Subject: [PATCH] Bug 22887: Remove superfluous warn statements > >We print them in the description later >--- > installer/data/mysql/updatedatabase.pl | 3 --- > 1 file changed, 3 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index eac7f132b8..d373b52111 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -21588,9 +21588,6 @@ if( CheckVersion( $DBversion ) ) { > $_->{authorised_value}, $_->{c} > } @$duplicates > ); >- for my $error (@description) { >- warn $error . "\n"; >- } > } else { > $dbh->do( q{ALTER TABLE `authorised_values` ADD CONSTRAINT `av_uniq` UNIQUE (category, authorised_value)} ); > } >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22887
:
89550
|
101790
|
101791
|
101792
|
101793
|
101889
|
101890
|
101891
|
101892
|
102409
|
102410
|
102411
|
102412
|
102511
|
102876
|
102877
|
102878
|
102879
|
102880
|
102898
|
102939
|
102999
| 103000