1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-24 14:20:59 +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

@@ -1,18 +1,19 @@
# -------------------------------------------------------------- #
# Test case migrated from regression test suite: bug3932.sql
#
# Author: Daniel Lee, daniel.lee@mariadb.com
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
#
USE tpch1;
#
# -------------------------------------------------------------- #
# Test case migrated from regression test suite: bug3932.sql
#
# Author: Daniel Lee, daniel.lee@mariadb.com
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
#
USE tpch1;
#
--disable_warnings
drop table if exists qa_nation;
drop table if exists qa_customer;
drop table if exists qa_region;
drop table if exists qa_orders;
--enable_warnings
create table qa_nation (n_id int, n_name char(20), regionid int) engine=columnstore;
create table qa_customer (c_id int, c_custname char(20), nationid int) engine=columnstore;
@@ -24,7 +25,6 @@ insert into qa_nation values (1, 'UNITED STATES', 2), (2, 'CANADA', 2), (3, 'JAP
insert into qa_customer values (1, 'Cust_US', 1), (2, 'Cust_Japan', 3), (3, 'Cust_Italy', 6);
insert into qa_orders values (1, 'Order_US#1', 1), (2, 'Order_US#2', 1), (3, 'Order_Japan#1', 2);
select n.n_name, c.c_custname
from qa_nation n
join qa_customer c on n.n_id = c.nationid
@@ -55,10 +55,6 @@ from qa_nation n
left outer join qa_customer c on n.n_id = c.nationid
where n.n_id in (select n2.n_id from qa_nation n2, qa_region r1 where n2.regionid = r1.r_id) group by n.n_name order by n.n_name;
select r.r_name, n.n_name, c.c_custname
from qa_region r
join qa_nation n on r.r_id = n.regionid
@@ -95,11 +91,6 @@ from qa_region r
left outer join qa_customer c on n.n_id = c.nationid
where n.n_id in (select n2.n_id from qa_nation n2, qa_region r1 where n2.regionid = r1.r_id and r1.r_name = 'AMERICA') order by r.r_name, n.n_name;
select r.r_name, n.n_name, c.c_custname
from qa_region r
join qa_nation n on r.r_id = n.regionid
@@ -136,10 +127,6 @@ from qa_region r
left outer join qa_customer c on n.n_id = c.nationid
where r.r_id in (select r1.r_id from qa_nation n2, qa_region r1 where n2.regionid = r1.r_id and n2.n_name = 'UNITED STATES') order by r.r_name, n.n_name;
select r.r_name, n.n_name, c.c_custname, o.o_name
from qa_region r
join qa_nation n on r.r_id = n.regionid
@@ -182,9 +169,6 @@ from qa_region r
left outer join qa_orders o on c.c_id = o.custid
where n.n_id in (select n2.n_id from qa_nation n2, qa_region r1 where n2.regionid = r1.r_id and r1.r_name = 'AMERICA') order by r.r_name, n.n_name, o.o_name;
select r.r_name, n.n_name, c.c_custname, o.o_name
from qa_region r
join qa_nation n on r.r_id = n.regionid
@@ -227,10 +211,6 @@ from qa_region r
left outer join qa_orders o on c.c_id = o.custid
where r.r_id in (select r1.r_id from qa_nation n2, qa_region r1 where n2.regionid = r1.r_id and n2.n_name = 'UNITED STATES') order by r.r_name, n.n_name, o.o_name;
select r.r_name, n.n_name, c.c_custname, o.o_name
from qa_region r
join qa_nation n on r.r_id = n.regionid
@@ -273,10 +253,6 @@ from qa_region r
left outer join qa_orders o on c.c_id = o.custid
where r.r_id in (select r1.r_id from qa_nation n2, qa_region r1 where n2.regionid = r1.r_id and n2.n_name = 'UNITED STATES') order by r.r_name, n.n_name, o.o_name;
select r.r_name, n.n_name, c.c_custname, o.o_name
from qa_region r
join qa_nation n on r.r_id = n.regionid
@@ -340,13 +316,11 @@ from qa_region r
left outer join qa_orders o on c.c_id = o.custid
where c.c_id in (select c1.c_id from qa_customer c1 where c1.c_custname = 'Cust_Italy') order by r.r_name, n.n_name;
--disable_warnings
drop table if exists qa_nation;
drop table if exists qa_customer;
drop table if exists qa_region;
drop table if exists qa_orders;
--enable_warnings
#
#