Bugzilla – Attachment 25495 Details for
Bug 5377
Database fields too small for multiple ISBN and ISSN
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5377: No index on deletedbiblioitems.issn
Bug-5377-No-index-on-deletedbiblioitemsissn.patch (text/plain), 1.27 KB, created by
Jonathan Druart
on 2014-02-20 11:45:19 UTC
(
hide
)
Description:
Bug 5377: No index on deletedbiblioitems.issn
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-02-20 11:45:19 UTC
Size:
1.27 KB
patch
obsolete
>From 828a90dafd2fa529dc0fb630533bd59e562ebe2c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 20 Feb 2014 12:40:35 +0100 >Subject: [PATCH] Bug 5377: No index on deletedbiblioitems.issn > >This patch removes a trailing space and remove the issn index deletion >(it does not exist on deletedbiblioitems). > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > installer/data/mysql/updatedatabase.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 2768426..792b972 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -7967,12 +7967,11 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { > "); > > $dbh->do("ALTER TABLE deletedbiblioitems DROP INDEX isbn"); >- $dbh->do("ALTER TABLE deletedbiblioitems DROP INDEX issn"); > $dbh->do("ALTER TABLE deletedbiblioitems > CHANGE isbn isbn MEDIUMTEXT NULL DEFAULT NULL, > CHANGE issn issn MEDIUMTEXT NULL DEFAULT NULL > "); >- $dbh->do("ALTER TABLE deletedbiblioitems >+ $dbh->do("ALTER TABLE deletedbiblioitems > ADD INDEX isbn ( isbn ( 255 ) ) > "); > >-- >1.7.10.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 5377
:
25469
|
25470
|
25491
|
25492
|
25493
|
25494
| 25495