Bugzilla – Attachment 106315 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: Use bitwise OR for setting a bit in borrowers.flag
Bug-25858-Use-bitwise-OR-for-setting-a-bit-in-borr.patch (text/plain), 1.05 KB, created by
Julian Maurice
on 2020-06-26 07:01:12 UTC
(
hide
)
Description:
Bug 25858: Use bitwise OR for setting a bit in borrowers.flag
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2020-06-26 07:01:12 UTC
Size:
1.05 KB
patch
obsolete
>From c4c9387ac5e5f4ed7768033901ff06a121d4070f Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 26 Jun 2020 10:55:44 +0400 >Subject: [PATCH] Bug 25858: Use bitwise OR for setting a bit in borrowers.flag > >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >Thanks-to: 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 303164d558..abb403243c 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) AND !(flags & (1 << 12)) >+ UPDATE borrowers SET flags = flags | (1<<12) WHERE flags & (1 << 11) > }); > > 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