mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
0732f7475e
Fixed bug with HEAP tables on windows Fixed bug with HAVING on empty tables
10 lines
316 B
Text
10 lines
316 B
Text
# test of problems with having (Reported by Mark Rogers)
|
|
#
|
|
|
|
drop table if exists t1;
|
|
create table t1 (a int);
|
|
select count(a) as b from t1 where a=0 having b > 0;
|
|
insert into t1 values (null);
|
|
select count(a) as b from t1 where a=0 having b > 0;
|
|
select count(a) as b from t1 where a=0 having b >=0;
|
|
drop table t1;
|