https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25858

Julian Maurice <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Julian Maurice <[email protected]> ---
(In reply to Nick Clemens from comment #3)
> (In reply to didier from comment #2)
> > Hi
> > 
> > Why not use & | and ^ ?
> > 
> > UPDATE borrowers SET flags = flags | (1<<12) WHERE flags & (1 << 11)
> > 
> > Regards
> > Didier
> 
> That is much more concise, I am not sure if it is clearer, but I am happy to
> have either solution, we just need to get this fixed

I confirm both solutions work, but in my opinion Didier's solution is more
clear about what the intention is. I'll provide a followup

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to