1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Disable warnings for 'drop if exists' and 'create if not exist' commands

This commit is contained in:
mariadb-DanielLee
2022-12-08 11:37:44 -06:00
parent c14ab6d86b
commit fad0fd08f0
166 changed files with 903 additions and 148 deletions

View File

@ -8,8 +8,11 @@
#
USE tpch1;
#
--disable_warnings
drop table if exists bug3436a;
drop table if exists bug3436b;
--enable_warnings
create table bug3436a (i int, j int, c1 tinyint, c2 decimal(2,1), c3 decimal(4,0), c4 decimal(4,2), c5 float, c6 double) engine=columnstore;
insert into bug3436a values (1, 1, 1, 1.1, 9991, 99.1, 1.1, 1.1), (1, 1, 2, 2.2, 9992, 99.2, 2.2, 2.2), (2, 2, 1, 1.1, 9993, 99.3, 1.1, 1.1), (2, 2, 2, 2.2, 9994, 99.4, 2.2, 2.2), (1, 1, 127, 9.1, 9995, 99.5, 127.1, 127.1), (1, 2, 100, 9.2, 9996, 99.6, 100.2, 100.2);
@ -29,8 +32,9 @@ select s/d from (select k, stddev(c4) s, count(distinct j) d from bug3436a join
select s/d from (select k, stddev(c5) s, count(distinct j) d from bug3436a join bug3436b on i=k group by 1) a order by 1;
select s/d from (select k, stddev(c6) s, count(distinct j) d from bug3436a join bug3436b on i=k group by 1) a order by 1;
--disable_warnings
drop table bug3436a;
drop table bug3436b;
--enable_warnings
#