Bugzilla – Attachment 177448 Details for
Bug 26684
Remove 'marc' column from auth_header table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26684: Fix atomic update
Bug-26684-Fix-atomic-update.patch (text/plain), 1.14 KB, created by
Janusz Kaczmarek
on 2025-02-02 14:33:30 UTC
(
hide
)
Description:
Bug 26684: Fix atomic update
Filename:
MIME Type:
Creator:
Janusz Kaczmarek
Created:
2025-02-02 14:33:30 UTC
Size:
1.14 KB
patch
obsolete
>From eac5d79174634c205a3bd578b6373ed6231e4cde Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Wed, 21 Oct 2020 04:49:31 +0000 >Subject: [PATCH] Bug 26684: Fix atomic update > >--- > .../001-26684-drop_marc_column_from_auth_header.perl | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/001-26684-drop_marc_column_from_auth_header.perl b/installer/data/mysql/atomicupdate/001-26684-drop_marc_column_from_auth_header.perl >index 7dd8148208..bf4500c442 100755 >--- a/installer/data/mysql/atomicupdate/001-26684-drop_marc_column_from_auth_header.perl >+++ b/installer/data/mysql/atomicupdate/001-26684-drop_marc_column_from_auth_header.perl >@@ -1,6 +1,8 @@ > $DBversion = 'XXX'; # will be replaced by the RM > if( CheckVersion( $DBversion ) ) { >- $dbh->do( "ALTER TABLE auth_header DROP COLUMN marc" ); >+ if( column_exists( 'auth_header', 'marc' ) ) { >+ $dbh->do( "ALTER TABLE auth_header DROP COLUMN marc" ); >+ } > >- NewVersion( $DBversion, XXXXX, "Drop marc column from auth_header"); >+ NewVersion( $DBversion, 26684, "Drop marc column from auth_header"); > } >-- >2.39.5
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 26684
:
111670
|
111671
|
111672
|
112016
|
112018
|
112019
|
112087
|
112088
|
112089
|
112090
|
177445
|
177446
|
177447
|
177448
|
177449
|
177450
|
177455
|
177456
|
177457
|
177458
|
177459
|
177460
|
177461