Bugzilla – Attachment 169214 Details for
Bug 35539
Remove unused columns from categories table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35539: (QA follow-up) Fix atomic update to look for first non-null values
Bug-35539-QA-follow-up-Fix-atomic-update-to-look-f.patch (text/plain), 1.68 KB, created by
Kyle M Hall (khall)
on 2024-07-19 12:49:13 UTC
(
hide
)
Description:
Bug 35539: (QA follow-up) Fix atomic update to look for first non-null values
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-07-19 12:49:13 UTC
Size:
1.68 KB
patch
obsolete
>From 6a48c0d8cfba0029909cf13d029d9b99b1d31cc8 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 19 Jul 2024 08:42:00 -0400 >Subject: [PATCH] Bug 35539: (QA follow-up) Fix atomic update to look for first > non-null values > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > installer/data/mysql/atomicupdate/bug_35539.pl | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_35539.pl b/installer/data/mysql/atomicupdate/bug_35539.pl >index 3a3dac2830b..3be0e21f2c0 100755 >--- a/installer/data/mysql/atomicupdate/bug_35539.pl >+++ b/installer/data/mysql/atomicupdate/bug_35539.pl >@@ -11,7 +11,7 @@ return { > if ( column_exists( 'categories', 'bulk' ) ) { > my ($bulkdata) = $dbh->selectrow_array( > q| >- SELECT bulk FROM categories; >+ SELECT bulk FROM categories WHERE bulk IS NOT NULL; > | > ); > if ($bulkdata) { >@@ -28,7 +28,7 @@ return { > if ( column_exists( 'categories', 'finetype' ) ) { > my ($bulkdata) = $dbh->selectrow_array( > q| >- SELECT finetype FROM categories; >+ SELECT finetype FROM categories WHERE finetype IS NOT NULL; > | > ); > if ($bulkdata) { >@@ -46,7 +46,7 @@ return { > if ( column_exists( 'categories', 'issuelimit' ) ) { > my ($bulkdata) = $dbh->selectrow_array( > q| >- SELECT issuelimit FROM categories; >+ SELECT issuelimit FROM categories WHERE issuelimit IS NOT NULL; > | > ); > if ($bulkdata) { >-- >2.30.2
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 35539
:
160400
|
160401
|
160402
|
160403
|
160404
|
160413
|
160414
|
160415
|
160416
|
160417
|
160446
|
165724
|
169209
|
169210
|
169211
|
169212
|
169213
| 169214