Bugzilla – Attachment 128388 Details for
Bug 27208
Add a configurable time delay feature to hold notice templates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27208: Atomicupdate
0002-Bug-27208-Atomicupdate.patch (text/plain), 1.20 KB, created by
Björn Nylén
on 2021-12-10 10:09:37 UTC
(
hide
)
Description:
Bug 27208: Atomicupdate
Filename:
MIME Type:
Creator:
Björn Nylén
Created:
2021-12-10 10:09:37 UTC
Size:
1.20 KB
patch
obsolete
>From 88ae81e523b4f6a4a7c5fdf10dc9a5d536db1da1 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Bj=C3=B6rn=20Nyl=C3=A9n?= <bjorn.nylen@ub.lu.se> >Date: Wed, 8 Dec 2021 08:42:19 +0100 >Subject: [PATCH 2/4] Bug 27208: Atomicupdate > >--- > .../bug_27208-add_delay_util_to_message_queue.pl | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_27208-add_delay_util_to_message_queue.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_27208-add_delay_util_to_message_queue.pl b/installer/data/mysql/atomicupdate/bug_27208-add_delay_util_to_message_queue.pl >new file mode 100644 >index 0000000000..b89158bf48 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_27208-add_delay_util_to_message_queue.pl >@@ -0,0 +1,16 @@ >+use Modern::Perl; >+ >+{ >+ bug_number => "27208", >+ description => "Adding new column 'message_queue.delay_until'", >+ up => sub { >+ my ($args) = @_; >+ my $dbh = $args->{dbh}; >+ >+ if( !column_exists( 'message_queue', 'delay_until' ) ) { >+ $dbh->do(q{ >+ ALTER TABLE message_queue ADD COLUMN `delay_until` TIMESTAMP NULL DEFAULT NULL AFTER `failure_code` >+ }); >+ } >+ }, >+} >-- >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 27208
:
128387
|
128388
|
128389
|
128390
|
128587
|
128588
|
128589
|
128590
|
128948
|
128949
|
128950
|
128951