https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25858 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com --- Comment #5 from Julian Maurice <julian.maurice@biblibre.com> --- (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.