Bugzilla – Attachment 57762 Details for
Bug 17676
Default COLLATE for marc_subfield_structure is not set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17676: [Pre-16.11 patch] Update default COLLATE of marc_subfield_structure
Bug-17676-Update-default-COLLATE-of-marcsubfieldst.patch (text/plain), 1.14 KB, created by
Mark Tompsett
on 2016-11-24 19:16:13 UTC
(
hide
)
Description:
Bug 17676: [Pre-16.11 patch] Update default COLLATE of marc_subfield_structure
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2016-11-24 19:16:13 UTC
Size:
1.14 KB
patch
obsolete
>From 0f706aab0ccfddeeb56bcc95470effdd0caaae71 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 24 Nov 2016 13:55:13 +0000 >Subject: [PATCH] Bug 17676: Update default COLLATE of marc_subfield_structure > >Patch for branches < 16.11 >See bug 17676 for more information > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> >--- > installer/data/mysql/updatedatabase.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index e8ca11e..18789c5 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -9732,6 +9732,7 @@ if ( CheckVersion($DBversion) ) { > MODIFY COLUMN seealso varchar(1100) COLLATE utf8_unicode_ci DEFAULT NULL, > MODIFY COLUMN link varchar(80) COLLATE utf8_unicode_ci DEFAULT NULL > |); >+ $dbh->do(qq|ALTER TABLE $name CHARACTER SET utf8 COLLATE utf8_unicode_ci|); > } > else { > $dbh->do(qq|ALTER TABLE $name CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci|); >-- >2.1.4
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 17676
:
57749
|
57750
|
57760
|
57761
| 57762 |
57769