ClickHouse/tests/queries/0_stateless/01073_attach_if_not_exists.sql

10 lines
224 B
MySQL
Raw Normal View History

2021-09-12 12:35:27 +00:00
-- Tags: no-parallel
2020-04-03 09:55:22 +00:00
CREATE TABLE aine (a Int) ENGINE = Log;
ATTACH TABLE aine; -- { serverError 57 }
2020-04-03 15:59:59 +00:00
ATTACH TABLE IF NOT EXISTS aine;
2020-04-03 09:55:22 +00:00
DETACH TABLE aine;
ATTACH TABLE IF NOT EXISTS aine;
EXISTS TABLE aine;
DROP TABLE aine;