Bugzilla – Attachment 55704 Details for
Bug 17234
ALTER IGNORE TABLE is invalid in mysql 5.7. This breaks updatedatabase.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17234: Follow up to handle new problems
Bug-17234-Follow-up-to-handle-new-problems.patch (text/plain), 1.38 KB, created by
Mark Tompsett
on 2016-09-19 18:28:19 UTC
(
hide
)
Description:
Bug 17234: Follow up to handle new problems
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2016-09-19 18:28:19 UTC
Size:
1.38 KB
patch
obsolete
>From 48d56703b3ed3f08eb2fa5e62930768e95b28db5 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Mon, 19 Sep 2016 14:27:14 -0400 >Subject: [PATCH] Bug 17234: Follow up to handle new problems > >Bug 16276 added two more ALTER IGNORES. This removes them. >--- > installer/data/mysql/updatedatabase.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index e132a6b..7be9ce2 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -12993,10 +12993,10 @@ if ( CheckVersion($DBversion) ) { > $DBversion = "16.06.00.027"; > if ( CheckVersion($DBversion) ) { > $dbh->do(q{ >- ALTER IGNORE TABLE borrowers ADD COLUMN lastseen datetime default NULL AFTER updated_on; >+ ALTER TABLE borrowers ADD COLUMN lastseen datetime default NULL AFTER updated_on; > }); > $dbh->do(q{ >- ALTER IGNORE TABLE deletedborrowers ADD COLUMN lastseen datetime default NULL AFTER updated_on; >+ ALTER TABLE deletedborrowers ADD COLUMN lastseen datetime default NULL AFTER updated_on; > }); > $dbh->do(q{ > INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES ('TrackLastPatronActivity', '0', 'If set, the field borrowers.lastseen will be updated everytime a patron is seen', NULL, 'YesNo'); >-- >2.7.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 17234
:
55113
|
55144
|
55634
|
55635
|
55704
|
55722
|
55729
|
55833
|
56820
|
56821
|
56822
|
56823
|
56824
|
56825
|
58548
|
58551
|
58552
|
58865
|
59003