Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Critical
-
Resolution: Unresolved
-
11.8.1, 10.5, 11.4
-
None
Description
I run the following two cases, in which the same query result should be returned.
-- case 1
|
CREATE TABLE t1 (c1 LONGBLOB); |
INSERT INTO t1 (c1) VALUES ('55'); |
INSERT INTO t1 (c1) VALUES ('95'); |
SELECT c1 AS r1 FROM t1 WHERE (AES_ENCRYPT(c1, 48) <= ALL (SELECT c1 AS ca7 FROM t1)) IS FALSE; -- {} |
-- case 2
|
CREATE TABLE t1 (c1 TINYBLOB); |
INSERT INTO t1 (c1) VALUES ('55'); |
INSERT INTO t1 (c1) VALUES ('95'); |
SELECT c1 AS r2 FROM t1 WHERE (AES_ENCRYPT(c1, 48) <= ALL (SELECT c1 AS ca7 FROM t1)) IS FALSE; -- {95} |
I wonder whether MDEV-36286 and this bug suffer from the same root cause.
MDEV-36286 exposes inconsistencies between LONGTEXT and TINYTEXT. Thus, I modify this case by changing their data types as LONGTEXT and TINYTEXT, respectively.
However, the following results seem correct.
Thus, I think these are two different bugs, not duplicates.
-- case 1
-- case 1