Add missing DROP TABLE into 01056_create_table_as

Also update abbrev in table names, lv stands for LIVE VIEW, v for VIEW
This commit is contained in:
Azat Khuzhin 2020-01-03 13:34:24 +03:00
parent 7d88218e9f
commit 425704e1d0

View File

@ -5,12 +5,14 @@ DROP TABLE t2;
-- live view
SET allow_experimental_live_view=1;
CREATE LIVE VIEW v AS SELECT * FROM t1;
CREATE TABLE t3 AS v; -- { serverError 80; }
CREATE LIVE VIEW lv AS SELECT * FROM t1;
CREATE TABLE t3 AS lv; -- { serverError 80; }
DROP TABLE lv;
-- view
CREATE VIEW lv AS SELECT * FROM t1;
CREATE TABLE t3 AS lv; -- { serverError 80; }
CREATE VIEW v AS SELECT * FROM t1;
CREATE TABLE t3 AS v; -- { serverError 80; }
DROP TABLE v;
-- dictionary
DROP DATABASE if exists test_01056_dict_data;