Bugzilla – Attachment 106282 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), 1006 bytes, created by
Didier Gautheron
on 2020-06-25 10:09:52 UTC
(
hide
)
Description:
Bug 25858: Don't attempt to set flag if already set
Filename:
MIME Type:
Creator:
Didier Gautheron
Created:
2020-06-25 10:09:52 UTC
Size:
1006 bytes
patch
obsolete
>From 78c67054870ef069849ad4000a81eef2792d7816 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> >--- > 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.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