Bugzilla – Attachment 21053 Details for
Bug 10572
Add phone to message_transport_types table for new installs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10572: Followup: dbrev for phone message_transport_type
Bug-10572-Followup-dbrev-for-phone-messagetranspor.patch (text/plain), 1.30 KB, created by
Kyle M Hall
on 2013-09-12 17:25:57 UTC
(
hide
)
Description:
Bug 10572: Followup: dbrev for phone message_transport_type
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2013-09-12 17:25:57 UTC
Size:
1.30 KB
patch
obsolete
>From 4c9e1c2b39a4e48b90b94c9570f15eaa6e76f7eb Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Wed, 7 Aug 2013 14:24:23 +0200 >Subject: [PATCH] Bug 10572: Followup: dbrev for phone message_transport_type > >Test plan: >Run the updatestructure step of web installer. >Check if you have a phone message_transport_type. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > installer/data/mysql/updatedatabase.pl | 11 +++++++++++ > 1 files changed, 11 insertions(+), 0 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index ddcc455..de84967 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -7104,6 +7104,17 @@ if ( CheckVersion($DBversion) ) { > SetVersion($DBversion); > } > >+$DBversion = "3.13.00.XXX"; >+if ( CheckVersion($DBversion) ) { >+ #add phone if it is not there already (explains the ignore option) >+ $dbh->do(" >+INSERT IGNORE INTO message_transport_types (message_transport_type) values ('phone'); >+ "); >+ print "Upgrade to $DBversion done (Bug 10572: Add phone to message_transport_types table for new installs)\n"; >+ SetVersion($DBversion); >+} >+ >+ > =head1 FUNCTIONS > > =head2 TableExists($table) >-- >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 10572
:
19548
|
20075
|
20142
|
21051
|
21052
| 21053 |
21054