From 7da67fd13917dd7c97308b5e23c7c3aac856d107 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Wed, 24 Dec 2014 00:24:34 +0300 Subject: [PATCH] dbms: added test for temporary table [#METR-14449]. --- .../0_stateless/00102_insert_into_temporary_table.reference | 1 + .../queries/0_stateless/00102_insert_into_temporary_table.sql | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 dbms/tests/queries/0_stateless/00102_insert_into_temporary_table.reference create mode 100644 dbms/tests/queries/0_stateless/00102_insert_into_temporary_table.sql diff --git a/dbms/tests/queries/0_stateless/00102_insert_into_temporary_table.reference b/dbms/tests/queries/0_stateless/00102_insert_into_temporary_table.reference new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00102_insert_into_temporary_table.reference @@ -0,0 +1 @@ +1 diff --git a/dbms/tests/queries/0_stateless/00102_insert_into_temporary_table.sql b/dbms/tests/queries/0_stateless/00102_insert_into_temporary_table.sql new file mode 100644 index 00000000000..4ef44cdf95d --- /dev/null +++ b/dbms/tests/queries/0_stateless/00102_insert_into_temporary_table.sql @@ -0,0 +1,3 @@ +CREATE TEMPORARY TABLE t (a UInt8); +INSERT INTO t VALUES (1); +SELECT * FROM t;