![](https://secure.gravatar.com/avatar/a65f9192bf048501218d0dd6cd9f7759.jpg?s=120&d=mm&r=g)
9 Jan
2018
9 Jan
'18
12:14 a.m.
Hi, Need some help here. I have the following expression: SELECT IF(1=1, 0x2, 0x4) | 0x1 which in MySQL evaluates to: 3 but in MariaDB it evaluates to: 1 MySQL's result seems correct to me. Would appreciate any advice on this. Many thanks! Mats