Bugzilla – Attachment 125267 Details for
Bug 28534
pending_offline_circulations table uses MyISAM engine
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28534: (follow-up) Don't adjust original DB update
Bug-28534-follow-up-Dont-adjust-original-DB-update.patch (text/plain), 1.66 KB, created by
Martin Renvoize (ashimema)
on 2021-09-24 15:20:47 UTC
(
hide
)
Description:
Bug 28534: (follow-up) Don't adjust original DB update
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-09-24 15:20:47 UTC
Size:
1.66 KB
patch
obsolete
>From 057c48eb49290493e7da6b274e6398f02b5f3c05 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 14 Sep 2021 13:05:47 +0000 >Subject: [PATCH] Bug 28534: (follow-up) Don't adjust original DB update > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > installer/data/mysql/updatedatabase.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index a9d39d30f38..4f89a31f604 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -4732,7 +4732,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { > > $DBversion = "3.07.00.018"; > if (C4::Context->preference("Version") < TransformToNum($DBversion)) { >- $dbh->do("CREATE TABLE pending_offline_operations ( operationid int(11) NOT NULL AUTO_INCREMENT, userid varchar(30) NOT NULL, branchcode varchar(10) NOT NULL, timestamp timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, action varchar(10) NOT NULL, barcode varchar(20) NOT NULL, cardnumber varchar(16) DEFAULT NULL, PRIMARY KEY (operationid) ) ENGINE=INNODB DEFAULT CHARSET=utf8;"); >+ $dbh->do("CREATE TABLE pending_offline_operations ( operationid int(11) NOT NULL AUTO_INCREMENT, userid varchar(30) NOT NULL, branchcode varchar(10) NOT NULL, timestamp timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, action varchar(10) NOT NULL, barcode varchar(20) NOT NULL, cardnumber varchar(16) DEFAULT NULL, PRIMARY KEY (operationid) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;"); > print "Upgrade to $DBversion done ( adding offline operations table )\n"; > SetVersion($DBversion); > } >-- >2.20.1
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 28534
:
121746
|
121908
|
121917
|
121918
|
123112
|
123113
|
124865
|
125265
|
125266
|
125267
|
125393