From fba592380ef3f37e65e989e86a677110abc6a86d Mon Sep 17 00:00:00 2001 From: Guillaume Tassery Date: Fri, 10 Jan 2020 12:22:07 +0100 Subject: [PATCH] modify test --- .../0_stateless/01060_shutdown_table_after_detach.reference | 1 + .../queries/0_stateless/01060_shutdown_table_after_detach.sql | 2 ++ 2 files changed, 3 insertions(+) diff --git a/dbms/tests/queries/0_stateless/01060_shutdown_table_after_detach.reference b/dbms/tests/queries/0_stateless/01060_shutdown_table_after_detach.reference index 0970566bbf8..694c77d9850 100644 --- a/dbms/tests/queries/0_stateless/01060_shutdown_table_after_detach.reference +++ b/dbms/tests/queries/0_stateless/01060_shutdown_table_after_detach.reference @@ -1,2 +1,3 @@ +10000000 0 10000000 diff --git a/dbms/tests/queries/0_stateless/01060_shutdown_table_after_detach.sql b/dbms/tests/queries/0_stateless/01060_shutdown_table_after_detach.sql index 00156fd8488..6c8f6c637fc 100644 --- a/dbms/tests/queries/0_stateless/01060_shutdown_table_after_detach.sql +++ b/dbms/tests/queries/0_stateless/01060_shutdown_table_after_detach.sql @@ -1,5 +1,7 @@ CREATE TABLE IF NOT EXISTS test Engine = MergeTree ORDER BY number AS SELECT number, toString(rand()) x from numbers(10000000); +SELECT count() FROM test; + ALTER TABLE test detach partition tuple(); SELECT count() FROM test;