Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
11.4.2
-
None
-
ubuntu 20.04
Description
This statement returns result 1 in mysql but empty sets in mariadb.
mariadb:
CREATE TABLE t0(c0 INT); |
INSERT INTO t0(c0) VALUES(1); |
SELECT * FROM t0 WHERE IF(FALSE, t0.c0, 0.1); |
--Empty set
|
|
mysql:
CREATE TABLE t0(c0 INT); |
INSERT INTO t0(c0) VALUES(1); |
SELECT * FROM t0 WHERE IF(FALSE, t0.c0, 0.1); |
--1 |
Attachments
Issue Links
- duplicates
-
MDEV-34123 CONCAT Function Returns Unexpected Empty Set in Query
- Closed