Commit 08eb2588 authored by jimw@mysql.com's avatar jimw@mysql.com

Fix error in having.test to use name instead of number (fixes merge problem)

parent 3f239914
...@@ -401,7 +401,7 @@ create table t1(f1 int); ...@@ -401,7 +401,7 @@ create table t1(f1 int);
select f1 from t1 having max(f1)=f1; select f1 from t1 having max(f1)=f1;
select f1 from t1 group by f1 having max(f1)=f1; select f1 from t1 group by f1 having max(f1)=f1;
set session sql_mode='ONLY_FULL_GROUP_BY'; set session sql_mode='ONLY_FULL_GROUP_BY';
--error 1463 --error ER_NON_GROUPING_FIELD_USED
select f1 from t1 having max(f1)=f1; select f1 from t1 having max(f1)=f1;
select f1 from t1 group by f1 having max(f1)=f1; select f1 from t1 group by f1 having max(f1)=f1;
set session sql_mode=''; set session sql_mode='';
......
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