You've already forked mariadb-columnstore-engine
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:
@ -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
|
||||
#
|
||||
|
||||
|
Reference in New Issue
Block a user