summaryrefslogtreecommitdiff
path: root/mysql-test/t/having.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/having.test')
-rw-r--r--mysql-test/t/having.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/having.test b/mysql-test/t/having.test
index 7f0a1225bda..4bd56400f98 100644
--- a/mysql-test/t/having.test
+++ b/mysql-test/t/having.test
@@ -1,7 +1,10 @@
# test of problems with having (Reported by Mark Rogers)
#
+--disable_warnings
drop table if exists t1,t2;
+--enable_warnings
+
create table t1 (a int);
select count(a) as b from t1 where a=0 having b > 0;
insert into t1 values (null);