ClickHouse/tests/queries/0_stateless/01643_system_suspend.sql

6 lines
164 B
MySQL
Raw Normal View History

2021-01-07 19:19:33 +00:00
CREATE TEMPORARY TABLE t (x DateTime);
INSERT INTO t VALUES (now());
SYSTEM SUSPEND FOR 1 SECOND;
INSERT INTO t VALUES (now());
SELECT max(x) - min(x) >= 1 FROM t;