summaryrefslogtreecommitdiff
path: root/mysql-test/r/ansi.result
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2005-02-17 07:12:31 +0300
committerunknown <sergefp@mysql.com>2005-02-17 07:12:31 +0300
commitc082848897de3421824d591ff9f8484c5a8d38c5 (patch)
treef15d762facb44f5fe78dbd368a3b7421d3bcb03d /mysql-test/r/ansi.result
parent968e06a8040f87527ca54035b4e07ee69eda6083 (diff)
downloadmariadb-git-c082848897de3421824d591ff9f8484c5a8d38c5.tar.gz
A "fix" for problem discovered in BUG#8510: remove ONLY_FULL_GROUP_BY mode from ANSI mode, as currently
ONLY_FULL_GROUP_BY mode is overly restrictive. mysql-test/r/ansi.result: A "fix" for problem discovered in BUG#8510: remove ONLY_FULL_GROUP_BY mode from ANSI mode. mysql-test/t/ansi.test: A "fix" for problem discovered in BUG#8510: remove ONLY_FULL_GROUP_BY mode from ANSI mode. sql/set_var.cc: A "fix" for problem discovered in BUG#8510: remove ONLY_FULL_GROUP_BY mode from ANSI mode.
Diffstat (limited to 'mysql-test/r/ansi.result')
-rw-r--r--mysql-test/r/ansi.result4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/ansi.result b/mysql-test/r/ansi.result
index 0b86634f67b..212d28f918b 100644
--- a/mysql-test/r/ansi.result
+++ b/mysql-test/r/ansi.result
@@ -6,7 +6,7 @@ NO_FIELD_OPTIONS,MYSQL40
set @@sql_mode="ANSI";
select @@sql_mode;
@@sql_mode
-REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ONLY_FULL_GROUP_BY,ANSI
+REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI
SELECT 'A' || 'B';
'A' || 'B'
AB
@@ -14,6 +14,6 @@ CREATE TABLE t1 (id INT, id2 int);
SELECT id,NULL,1,1.1,'a' FROM t1 GROUP BY id;
id NULL 1 1.1 a
SELECT id FROM t1 GROUP BY id2;
-ERROR 42000: 'test.t1.id' isn't in GROUP BY
+id
drop table t1;
SET @@SQL_MODE="";