added test for drop temporary table

This commit is contained in:
Nikolai Kochetov 2017-08-15 15:54:12 +03:00 committed by alexey-milovidov
parent 9c6f1a1e4b
commit 89df47fd52
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,8 @@
drop table if exists temp_tab;
create temporary table temp_tab (number UInt64);
insert into temp_tab select number from system.numbers limit 1;
select number from temp_tab;
drop table temp_tab;
create temporary table temp_tab (number UInt64);
select number from temp_tab;
drop table temp_tab;