Bugzilla – Attachment 17958 Details for
Bug 10185
updatedatabase.pl remove all reserves
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10185: Add missing columns in update 3.09.00.025
Bug-10185-Add-missing-columns-in-update-30900025.patch (text/plain), 2.31 KB, created by
Julian Maurice
on 2013-05-06 06:45:39 UTC
(
hide
)
Description:
Bug 10185: Add missing columns in update 3.09.00.025
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2013-05-06 06:45:39 UTC
Size:
2.31 KB
patch
obsolete
>From c017880252a53f880b71ca3457aeb0efeae81c51 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 6 May 2013 06:43:50 +0000 >Subject: [PATCH] Bug 10185: Add missing columns in update 3.09.00.025 > >--- > installer/data/mysql/updatedatabase.pl | 12 ++++++++---- > 1 files changed, 8 insertions(+), 4 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 4e6433a..71e1332 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -5486,13 +5486,15 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { > constrainttype, branchcode, notificationdate, > reminderdate, cancellationdate, reservenotes, > priority, found, timestamp, itemnumber, >- waitingdate, expirationdate, lowestPriority >+ waitingdate, expirationdate, lowestPriority, >+ suspend, suspend_until > ) SELECT > borrowernumber, reservedate, biblionumber, > constrainttype, branchcode, notificationdate, > reminderdate, cancellationdate, reservenotes, > priority, found, timestamp, itemnumber, >- waitingdate, expirationdate, lowestPriority >+ waitingdate, expirationdate, lowestPriority, >+ suspend, suspend_until > FROM old_reserves ORDER BY reservedate > "); > $dbh->do('SET @ai = ( SELECT MAX( reserve_id ) FROM tmp_reserves )'); >@@ -5505,13 +5507,15 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { > constrainttype, branchcode, notificationdate, > reminderdate, cancellationdate, reservenotes, > priority, found, timestamp, itemnumber, >- waitingdate, expirationdate, lowestPriority >+ waitingdate, expirationdate, lowestPriority, >+ suspend, suspend_until > ) SELECT > borrowernumber, reservedate, biblionumber, > constrainttype, branchcode, notificationdate, > reminderdate, cancellationdate, reservenotes, > priority, found, timestamp, itemnumber, >- waitingdate, expirationdate, lowestPriority >+ waitingdate, expirationdate, lowestPriority, >+ suspend, suspend_until > FROM reserves ORDER BY reservedate > "); > $dbh->do('TRUNCATE reserves'); >-- >1.7.2.5
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 10185
:
17934
|
17939
|
17958
|
17973
|
17974
|
17975