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,11 +8,17 @@
#
USE tpch1;
#
--disable_warnings
create table if not exists casetest (id int, c1 int, c2 int, c3 int) engine=columnstore;
--enable_warnings
insert into casetest values (1, 1, 1, 1), (2, null, null, null), (3, 1, 1, null), (4, 1, null, null);
select id, case when c1 is not null and c2 is not null and c3 is not null then 'A' when c1 is not null and c2 is
not null and c3 is null then 'B' when c1 is not null and c2 is null and c3 is not null then 'C' when c1 is not null
and c2 is null and c3 is null then 'D' end case_func from casetest;
--disable_warnings
drop table casetest;
--enable_warnings
#