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

8 lines
202 B
MySQL
Raw Normal View History

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;