ClickHouse/tests/queries/0_stateless/01072_drop_temporary_table_with_same_name.sql

16 lines
538 B
MySQL
Raw Normal View History

2020-01-30 23:37:40 +00:00
DROP TEMPORARY TABLE IF EXISTS table_to_drop;
DROP TABLE IF EXISTS table_to_drop;
CREATE TABLE table_to_drop(x Int8) ENGINE=Log;
CREATE TEMPORARY TABLE table_to_drop(x Int8);
DROP TEMPORARY TABLE table_to_drop;
DROP TEMPORARY TABLE table_to_drop; -- { serverError 60 }
DROP TABLE table_to_drop;
DROP TABLE table_to_drop; -- { serverError 60 }
CREATE TABLE table_to_drop(x Int8) ENGINE=Log;
CREATE TEMPORARY TABLE table_to_drop(x Int8);
DROP TABLE table_to_drop;
DROP TABLE table_to_drop;
DROP TABLE table_to_drop; -- { serverError 60 }