Commit 51badadd authored by evgen@moonbone.local's avatar evgen@moonbone.local

subselect.test, subselect.result:

  After merge fix.
parent 922a5a96
...@@ -3988,6 +3988,7 @@ a test ...@@ -3988,6 +3988,7 @@ a test
1 n 1 n
2 o 2 o
3 p 3 p
DROP TABLE t1;
CREATE TABLE t1 (a int, b int); CREATE TABLE t1 (a int, b int);
INSERT INTO t1 VALUES (2,22),(1,11),(2,22); INSERT INTO t1 VALUES (2,22),(1,11),(2,22);
SELECT a FROM t1 WHERE (SELECT COUNT(b) FROM DUAL) > 0 GROUP BY a; SELECT a FROM t1 WHERE (SELECT COUNT(b) FROM DUAL) > 0 GROUP BY a;
......
...@@ -2818,6 +2818,7 @@ SELECT tt.a, MAX( ...@@ -2818,6 +2818,7 @@ SELECT tt.a, MAX(
FROM t1 WHERE t1.a=tt.a GROUP BY a LIMIT 1)) as test FROM t1 WHERE t1.a=tt.a GROUP BY a LIMIT 1)) as test
FROM t1 as tt GROUP BY tt.a; FROM t1 as tt GROUP BY tt.a;
DROP TABLE t1;
# #
# Bug #27348: SET FUNCTION used in a subquery from WHERE condition # Bug #27348: SET FUNCTION used in a subquery from WHERE condition
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment