diff --git a/dbms/tests/queries/0_stateless/00564_show_tables_with_temporary.reference b/dbms/tests/queries/0_stateless/00564_show_tables_with_temporary.reference deleted file mode 100644 index 97a6c4574bb..00000000000 --- a/dbms/tests/queries/0_stateless/00564_show_tables_with_temporary.reference +++ /dev/null @@ -1 +0,0 @@ -temp_tab diff --git a/dbms/tests/queries/0_stateless/00564_show_tables_with_temporary.sql b/dbms/tests/queries/0_stateless/00564_show_tables_with_temporary.sql deleted file mode 100644 index fb9e8baad1d..00000000000 --- a/dbms/tests/queries/0_stateless/00564_show_tables_with_temporary.sql +++ /dev/null @@ -1,4 +0,0 @@ -DROP TEMPORARY TABLE IF EXISTS temp_tab; -CREATE TEMPORARY TABLE temp_tab (number UInt64); -SHOW TEMPORARY TABLES LIKE 'temp_tab'; -DROP TEMPORARY TABLE temp_tab; \ No newline at end of file diff --git a/dbms/tests/queries/0_stateless/00564_temporary_table_management.reference b/dbms/tests/queries/0_stateless/00564_temporary_table_management.reference new file mode 100644 index 00000000000..826f088fc74 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00564_temporary_table_management.reference @@ -0,0 +1,4 @@ +1 +CREATE TEMPORARY TABLE temp_tab ( number UInt64) ENGINE = Memory +temp_tab +0 diff --git a/dbms/tests/queries/0_stateless/00564_temporary_table_management.sql b/dbms/tests/queries/0_stateless/00564_temporary_table_management.sql new file mode 100644 index 00000000000..de1556f614f --- /dev/null +++ b/dbms/tests/queries/0_stateless/00564_temporary_table_management.sql @@ -0,0 +1,7 @@ +DROP TEMPORARY TABLE IF EXISTS temp_tab; +CREATE TEMPORARY TABLE temp_tab (number UInt64); +EXISTS TEMPORARY TABLE temp_tab; +SHOW CREATE TEMPORARY TABLE temp_tab; +SHOW TEMPORARY TABLES LIKE 'temp_tab'; +DROP TEMPORARY TABLE temp_tab; +EXISTS TEMPORARY TABLE temp_tab; \ No newline at end of file