dbms: added test to prev. revision [#METR-16945].

This commit is contained in:
Alexey Milovidov 2015-06-23 02:54:25 +03:00
parent 528967b864
commit f3bcb40a45
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
DROP TABLE IF EXISTS test.t;
DROP TABLE IF EXISTS test.mv;
DROP TABLE IF EXISTS test.`.inner.mv`;
CREATE TABLE test.t (x UInt8) ENGINE = Null;
CREATE MATERIALIZED VIEW test.mv AS SELECT * FROM test.t;
DETACH TABLE test.mv;
ATTACH MATERIALIZED VIEW test.mv AS SELECT * FROM test.t;
DROP TABLE test.t;
DROP TABLE test.mv;