Bugzilla – Attachment 171660 Details for
Bug 37895
Update skeleton.pl to show an example use of coding guideline SQL14
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37895: (QA follow-up) Exit in the failure block
Bug-37895-QA-follow-up-Exit-in-the-failure-block.patch (text/plain), 931 bytes, created by
Kyle M Hall (khall)
on 2024-09-18 11:17:18 UTC
(
hide
)
Description:
Bug 37895: (QA follow-up) Exit in the failure block
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-09-18 11:17:18 UTC
Size:
931 bytes
patch
obsolete
>From 2ac945143de03897082531de007087fce8e7f8a9 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 18 Sep 2024 07:17:00 -0400 >Subject: [PATCH] Bug 37895: (QA follow-up) Exit in the failure block > >--- > installer/data/mysql/atomicupdate/skeleton.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/installer/data/mysql/atomicupdate/skeleton.pl b/installer/data/mysql/atomicupdate/skeleton.pl >index 00e807744a1..a6179ea65ea 100755 >--- a/installer/data/mysql/atomicupdate/skeleton.pl >+++ b/installer/data/mysql/atomicupdate/skeleton.pl >@@ -14,6 +14,7 @@ return { > say_success( $out, "Database modification was successful!" ); > } catch { > say_failure( $out, "Database modification failed with errors: $_" ); >+ exit(1); # If you cannot recover from this failure, exit with an error code > }; > > # Print useful stuff here >-- >2.39.3 (Apple Git-146)
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 37895
:
171338
|
171383
|
171629
| 171660