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
_______________________________________________
Mailing list: https://launchpad.net/~maria-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~maria-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to