You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Disable warnings for 'drop if exists' and 'create if not exist' commands
This commit is contained in:
@ -12,22 +12,27 @@ USE tpch1;
|
||||
* Bug 2976. Lost connection with from clause subselect against MyISAM tables in an InfiniDB instance.
|
||||
*/
|
||||
|
||||
--disable_warnings
|
||||
drop table if exists a;
|
||||
--disable_warnings
|
||||
drop table if exists b;
|
||||
create table a (c1 int)engine=myisam;
|
||||
create table b (c2 int)engine=myisam;
|
||||
insert into a values (1), (2);
|
||||
insert into b values (1), (2);
|
||||
select * from a, (select * from b) x;
|
||||
--disable_warnings
|
||||
drop table a;
|
||||
drop table b;
|
||||
|
||||
--enable_warnings
|
||||
/*
|
||||
* Skinit example.
|
||||
*/
|
||||
--disable_warnings
|
||||
drop table if exists shipamounts;
|
||||
drop table if exists ship1;
|
||||
drop table if exists ship2;
|
||||
--enable_warnings
|
||||
|
||||
CREATE TABLE `shipamounts` (
|
||||
`OrderNum` varchar(50) DEFAULT NULL,
|
||||
@ -95,19 +100,22 @@ SELECT s.OrderNum, s.OrderLine, s.ShippingAmount, s.ShippingOrderAmount,
|
||||
FROM ship2 GROUP BY OrderNum
|
||||
) AS total ON s.OrderNum = total.OrderNum;
|
||||
|
||||
--disable_warnings
|
||||
drop table if exists shipamounts;
|
||||
drop table if exists ship1;
|
||||
drop table if exists ship2;
|
||||
|
||||
--enable_warnings
|
||||
/*
|
||||
* Lurn India example.
|
||||
*/
|
||||
--disable_warnings
|
||||
drop table if exists users;
|
||||
drop table if exists user_login_log;
|
||||
drop table if exists user_groups;
|
||||
drop table if exists user_types;
|
||||
drop table if exists system;
|
||||
drop table if exists user_system;
|
||||
--enable_warnings
|
||||
|
||||
create table users(
|
||||
id int,
|
||||
@ -183,11 +191,13 @@ AND u.status IN ('active')
|
||||
AND ug.start_date BETWEEN '2010-06-01' AND '2010-06-30'
|
||||
ORDER BY DATE(ug.start_date) DESC, u.users_id DESC;
|
||||
|
||||
--disable_warnings
|
||||
drop table if exists users;
|
||||
drop table if exists user_login_log;
|
||||
drop table if exists user_groups;
|
||||
drop table if exists user_types;
|
||||
drop table if exists system;
|
||||
drop table if exists user_system;
|
||||
--enable_warnings
|
||||
#
|
||||
|
||||
|
Reference in New Issue
Block a user