mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge branch '10.6' into '10.11'
This commit is contained in:
@ -5815,4 +5815,14 @@ HAVING (SELECT MAX(b) FROM t1) = a AND a > b;
|
||||
a b
|
||||
2 1
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# MDEV-25084: Moving equality with constant right side
|
||||
# from HAVING to WHERE
|
||||
# (fixed by the patch for MDEV-26402)
|
||||
#
|
||||
CREATE TABLE t1 (a CHAR(3)) CHARSET=sjis;
|
||||
INSERT INTO t1 VALUES ('foo'),('bar');
|
||||
SELECT LOAD_FILE('') AS f, a FROM t1 GROUP BY f, a HAVING f = a;
|
||||
f a
|
||||
DROP TABLE t1;
|
||||
End of 10.5 tests
|
||||
|
Reference in New Issue
Block a user