Bugzilla – Attachment 106314 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), 1.04 KB, created by
Julian Maurice
on 2020-06-26 07:01:07 UTC
(
hide
)
Description:
Bug 25858: Don't attempt to set flag if already set
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2020-06-26 07:01:07 UTC
Size:
1.04 KB
patch
obsolete
>From cb3bd0bfe573b18d94eb81b0bff39ecbb2f66dd8 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 > >Signed-off-by: Didier Gautheron <didier.gautheron@biblibre.com> >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >--- > 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 8cff5534a1..303164d558 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.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 25858
:
106240
|
106282
| 106314 |
106315