Bugzilla – Attachment 57750 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]
[Patch for versions prior to 16.11] Bug 17676: Update default COLLATE of marc_subfield_structure
Bug-17676-Update-default-COLLATE-of-marcsubfieldst.patch (text/plain), 1.09 KB, created by
Jonathan Druart
on 2016-11-24 13:56:36 UTC
(
hide
)
Description:
[Patch for versions prior to 16.11] Bug 17676: Update default COLLATE of marc_subfield_structure
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-11-24 13:56:36 UTC
Size:
1.09 KB
patch
obsolete
>From 880ef31ef3f1ffa4549c2570697fed7922ea3d14 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 >--- > 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