summaryrefslogtreecommitdiff
path: root/mysql-test/r/group_by.result
diff options
context:
space:
mode:
authorunknown <kaa@kaamos.(none)>2008-01-19 22:13:42 +0300
committerunknown <kaa@kaamos.(none)>2008-01-19 22:13:42 +0300
commit80857e0d74b77eb24d620e391b7ead82dd63a394 (patch)
tree32eb94180c6bee35b9cc18526c56357a54abc8ee /mysql-test/r/group_by.result
parent153771ed7f62d1db025c4b2569b524d8b57a40eb (diff)
downloadmariadb-git-80857e0d74b77eb24d620e391b7ead82dd63a394.tar.gz
Post-merge fixes.
mysql-test/r/group_by.result: Post-merge fix after merging 5.0-opt to 5.1-opt. mysql-test/t/disabled.def: Disabled innodb_mysql back, bug #32724 is still not fixed.
Diffstat (limited to 'mysql-test/r/group_by.result')
-rw-r--r--mysql-test/r/group_by.result36
1 files changed, 0 insertions, 36 deletions
diff --git a/mysql-test/r/group_by.result b/mysql-test/r/group_by.result
index ea50b38ff25..268f290ddca 100644
--- a/mysql-test/r/group_by.result
+++ b/mysql-test/r/group_by.result
@@ -1128,42 +1128,6 @@ id c1 c2
4 2 3
1 5 1
DROP TABLE t1;
-CREATE TABLE t1 ( a INT, b INT );
-SELECT b c, (SELECT a FROM t1 WHERE b = c)
-FROM t1;
-c (SELECT a FROM t1 WHERE b = c)
-SELECT b c, (SELECT a FROM t1 WHERE b = c)
-FROM t1
-HAVING b = 10;
-c (SELECT a FROM t1 WHERE b = c)
-SELECT MAX(b) c, (SELECT a FROM t1 WHERE b = c)
-FROM t1
-HAVING b = 10;
-ERROR 42S22: Reference 'c' not supported (reference to group function)
-SET @old_sql_mode = @@sql_mode;
-SET @@sql_mode='ONLY_FULL_GROUP_BY';
-SELECT b c, (SELECT a FROM t1 WHERE b = c)
-FROM t1;
-c (SELECT a FROM t1 WHERE b = c)
-SELECT b c, (SELECT a FROM t1 WHERE b = c)
-FROM t1
-HAVING b = 10;
-ERROR 42000: non-grouping field 'b' is used in HAVING clause
-SELECT MAX(b) c, (SELECT a FROM t1 WHERE b = c)
-FROM t1
-HAVING b = 10;
-ERROR 42S22: Reference 'c' not supported (reference to group function)
-INSERT INTO t1 VALUES (1, 1);
-SELECT b c, (SELECT a FROM t1 WHERE b = c)
-FROM t1;
-c (SELECT a FROM t1 WHERE b = c)
-1 1
-INSERT INTO t1 VALUES (2, 1);
-SELECT b c, (SELECT a FROM t1 WHERE b = c)
-FROM t1;
-ERROR 21000: Subquery returns more than 1 row
-DROP TABLE t1;
-SET @@sql_mode = @old_sql_mode;
End of 5.0 tests
CREATE TABLE t1 (a INT, b INT,
PRIMARY KEY (a),