Bugzilla – Attachment 106240 Details for
Bug 25858
Borrower permissions are broken by update from bug 22868
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25858: Don't attempt to set flag if already set
Bug-25858-Dont-attempt-to-set-flag-if-already-set.patch (text/plain), 942 bytes, created by
Nick Clemens (kidclamp)
on 2020-06-24 10:07:20 UTC
(
hide
)
Description:
Bug 25858: Don't attempt to set flag if already set
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-06-24 10:07:20 UTC
Size:
942 bytes
patch
obsolete
>From 347442aa12556fa5e8591fef8db84966db78f491 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 24 Jun 2020 10:06:57 +0000 >Subject: [PATCH] Bug 25858: Don't attempt to set flag if already set > >--- > installer/data/mysql/updatedatabase.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 4b9bab7b3f..3d24651c65 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -20650,7 +20650,7 @@ if( CheckVersion( $DBversion ) ) { > }); > > $dbh->do(q{ >- UPDATE borrowers SET flags = flags + (1<<12) WHERE flags & (1 << 11) >+ UPDATE borrowers SET flags = flags + (1<<12) WHERE flags & (1 << 11) AND !(flags & (1 << 12)) > }); > > NewVersion( $DBversion, 22868, 'Move suggestions_manage subpermission out of acquisition permission' ); >-- >2.11.0
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 25858
:
106240
|
106282
|
106314
|
106315